projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
work around locale problems for case insensitivity
[deliverable/binutils-gdb.git]
/
readline
/
configure.in
diff --git
a/readline/configure.in
b/readline/configure.in
index 9afdaa70fcfa4a6b5aebc1cc9aa8d85f711dad9a..1ed154e9cf6d98694a53a18ecac4c6b319820515 100644
(file)
--- a/
readline/configure.in
+++ b/
readline/configure.in
@@
-4,8
+4,8
@@
dnl
dnl report bugs to chet@po.cwru.edu
dnl
dnl Process this file with autoconf to produce a configure script.
dnl report bugs to chet@po.cwru.edu
dnl
dnl Process this file with autoconf to produce a configure script.
-AC_REVISION([for Readline 4.
0, version 2.14
, from autoconf version] AC_ACVERSION)
-LIBVERSION=4.
0
+AC_REVISION([for Readline 4.
1, version 2.22
, from autoconf version] AC_ACVERSION)
+LIBVERSION=4.
1
AC_INIT(readline.h)
AC_CONFIG_HEADER(config.h)
AC_INIT(readline.h)
AC_CONFIG_HEADER(config.h)
@@
-32,6
+32,7
@@
fi
test -z "$CFLAGS" && CFLAGS=-g auto_cflags=1
AC_PROG_CC
test -z "$CFLAGS" && CFLAGS=-g auto_cflags=1
AC_PROG_CC
+dnl AC_AIX
AC_MINIX
dnl BEGIN changes for CYGNUS cross-building for Cygwin
AC_MINIX
dnl BEGIN changes for CYGNUS cross-building for Cygwin
@@
-91,7
+92,8
@@
AC_RETSIGTYPE
AC_HEADER_STAT
AC_HEADER_DIRENT
AC_HEADER_STAT
AC_HEADER_DIRENT
-AC_CHECK_FUNCS(strcasecmp select setenv putenv tcgetattr setlocale lstat)
+AC_CHECK_FUNCS(lstat memmove putenv select setenv setlocale \
+ strcasecmp tcgetattr)
AC_FUNC_STRCOLL
AC_FUNC_STRCOLL
@@
-127,6
+129,7
@@
fi
case "$host_cpu" in
*cray*) LOCAL_CFLAGS=-DCRAY ;;
case "$host_cpu" in
*cray*) LOCAL_CFLAGS=-DCRAY ;;
+*s390*) LOCAL_CFLAGS=-fsigned-char ;;
esac
case "$host_os" in
esac
case "$host_os" in
@@
-140,7
+143,7
@@
esac
#
if test -f ${srcdir}/support/shobj-conf; then
AC_MSG_CHECKING(configuration for building shared libraries)
#
if test -f ${srcdir}/support/shobj-conf; then
AC_MSG_CHECKING(configuration for building shared libraries)
- eval `${CONFIG_SHELL-/bin/sh} ${srcdir}/support/shobj-conf -C
${CC}
-c ${host_cpu} -o ${host_os} -v ${host_vendor}`
+ eval `${CONFIG_SHELL-/bin/sh} ${srcdir}/support/shobj-conf -C
"${CC}"
-c ${host_cpu} -o ${host_os} -v ${host_vendor}`
AC_SUBST(SHOBJ_CC)
AC_SUBST(SHOBJ_CFLAGS)
AC_SUBST(SHOBJ_LD)
AC_SUBST(SHOBJ_CC)
AC_SUBST(SHOBJ_CFLAGS)
AC_SUBST(SHOBJ_LD)
@@
-154,9
+157,20
@@
if test -f ${srcdir}/support/shobj-conf; then
AC_SUBST(SHLIB_LIBVERSION)
AC_SUBST(SHLIB_LIBS)
AC_MSG_RESULT($SHLIB_STATUS)
AC_SUBST(SHLIB_LIBVERSION)
AC_SUBST(SHLIB_LIBS)
AC_MSG_RESULT($SHLIB_STATUS)
+
+ # shared library versioning
+ # quoted for m4 so I can use character classes
+ SHLIB_MAJOR=[`expr "$LIBVERSION" : '\([0-9]\)\..*'`]
+ SHLIB_MINOR=[`expr "$LIBVERSION" : '[0-9]\.\([0-9]\).*'`]
+ AC_SUBST(SHLIB_MAJOR)
+ AC_SUBST(SHLIB_MINOR)
fi
fi
-BUILD_DIR=`pwd`
+case "$host_os" in
+msdosdjgpp*) BUILD_DIR=`pwd.exe` ;; # to prevent //d/path/file
+*) BUILD_DIR=`pwd` ;;
+esac
+
AC_SUBST(BUILD_DIR)
AC_SUBST(CFLAGS)
AC_SUBST(BUILD_DIR)
AC_SUBST(CFLAGS)
This page took
0.02379 seconds
and
4
git commands to generate.