version 1.32, 2010/08/06 15:27:41
|
version 1.35, 2010/08/12 14:14:58
|
Line 260 fi
|
Line 260 fi
|
if test ! -d "$srcdir"/tools/$GSL; then |
if test ! -d "$srcdir"/tools/$GSL; then |
gunzip -c "$srcdir"/tools/$GSL.tar.gz | \ |
gunzip -c "$srcdir"/tools/$GSL.tar.gz | \ |
(cd "$srcdir/tools" && tar -xf -) |
(cd "$srcdir/tools" && tar -xf -) |
|
if test $(uname) = "OS/2"; then |
|
(cd "$srcdir"/tools/$GSL; \ |
|
TMP=$(mktemp tmp.XXXXXXXXXX); \ |
|
sed -e '1,$s/\${1+"\$@"}/"\$@"/g' ltmain.sh > $TMP; \ |
|
\mv -f $TMP ltmain.sh) |
|
fi |
fi |
fi |
if test ! -d "$srcdir"/tools/$GPP; then |
if test ! -d "$srcdir"/tools/$GPP; then |
gunzip -c "$srcdir"/tools/$GPP.tar.gz | \ |
gunzip -c "$srcdir"/tools/$GPP.tar.gz | \ |
Line 460 dnl Checks for libraries
|
Line 466 dnl Checks for libraries
|
AC_CHECK_LIB(m, main,, AC_MSG_ERROR([Can not find libm !])) |
AC_CHECK_LIB(m, main,, AC_MSG_ERROR([Can not find libm !])) |
AC_CHECK_LIB(pthread, main,, AC_MSG_ERROR([Can not find libpthread !])) |
AC_CHECK_LIB(pthread, main,, AC_MSG_ERROR([Can not find libpthread !])) |
|
|
|
dnl Check for union semun |
|
AC_CHECK_TYPE([union semun], SEMUN=-DUNION_SEMUN, SEMUN=-UUNION_SEMUN, [[ |
|
#include <sys/sem.h> |
|
]]) |
|
|
|
dnl Check for IPv6 support |
|
AC_CHECK_TYPE([struct sockaddr_in6], IPV6=-DIPV6, IPV6=-UIPV6, [[ |
|
#include <netinet/in.h> |
|
]]) |
|
|
dnl Do we need to use -ldl? |
dnl Do we need to use -ldl? |
if test "$CYGWIN" != yes; then |
if test "$CYGWIN" != yes; then |
AC_CHECK_LIB(dl, dlopen, LIBS="$LIBS -ldl", |
AC_CHECK_LIB(dl, dlopen, LIBS="$LIBS -ldl", |
Line 877 case $OS in
|
Line 893 case $OS in
|
EXPORT_DYNAMIC=-Wl,-flat_namespace |
EXPORT_DYNAMIC=-Wl,-flat_namespace |
NESTED_FUNCTIONS=-fnested-functions |
NESTED_FUNCTIONS=-fnested-functions |
SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES |
SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES |
|
SEMAPHORES_SYSV=-USEMAPHORES_SYSV |
CXXFLAGS="$CXXFLAGS -D_GLIBCXX_FULLY_DYNAMIC_STRING" |
CXXFLAGS="$CXXFLAGS -D_GLIBCXX_FULLY_DYNAMIC_STRING" |
ac_configure_args="$ac_configure_args --with-readline=builtin \ |
ac_configure_args="$ac_configure_args --with-readline=builtin \ |
--disable-shared --enable-static" |
--disable-shared --enable-static" |
|
C_STANDARD=-std=gnu99 |
break ;; |
break ;; |
|
|
Cygwin) |
Cygwin) |
EXPORT_DYNAMIC=-Wl,--export-all-symbols |
EXPORT_DYNAMIC=-Wl,--export-all-symbols |
NESTED_FUNCTIONS= |
NESTED_FUNCTIONS= |
SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES |
SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES |
|
SEMAPHORES_SYSV=-USEMAPHORES_SYSV |
ac_configure_args="$ac_configure_args --with-readline=builtin \ |
ac_configure_args="$ac_configure_args --with-readline=builtin \ |
--disable-shared --enable-static" |
--disable-shared --enable-static" |
|
C_STANDARD=-std=gnu99 |
break ;; |
break ;; |
|
|
|
Interix) |
|
EXPORT_DYNAMIC=-Wl,--export-all-symbols |
|
NESTED_FUNCTIONS= |
|
SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES |
|
SEMAPHORES_SYSV=-USEMAPHORES_SYSV |
|
ac_configure_args="$ac_configure_args --with-readline=builtin \ |
|
--disable-shared --enable-static" |
|
C_STANDARD=-std=gnu99 |
|
break;; |
|
|
AIX) |
AIX) |
EXPORT_DYNAMIC=-Wl,--export-dynamic |
EXPORT_DYNAMIC=-Wl,--export-dynamic |
NESTED_FUNCTIONS= |
NESTED_FUNCTIONS= |
SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES |
SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES |
|
SEMAPHORES_SYSV=-USEMAPHORES_SYSV |
ac_configure_args="$ac_configure_args --with-readline=builtin \ |
ac_configure_args="$ac_configure_args --with-readline=builtin \ |
--disable-shared --enable-static" |
--disable-shared --enable-static" |
|
C_STANDARD=-std=gnu99 |
break ;; |
break ;; |
|
|
OS/2) |
OS/2) |
MALLOC= |
MALLOC= |
OS=OS2 |
OS=OS2 |
FINAL_ENCODING=UTF-8 |
FINAL_ENCODING=CP850 |
NESTED_FUNCTIONS= |
NESTED_FUNCTIONS= |
EXPORT_DYNAMIC=-Zmap |
EXPORT_DYNAMIC=-Zmap |
SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES |
SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES |
|
SEMAPHORES_SYSV=-DSEMAPHORES_SYSV |
ac_configure_args="$ac_configure_args --without-readline \ |
ac_configure_args="$ac_configure_args --without-readline \ |
--without-cairo --disable-shared --enable-static" |
--without-cairo --disable-shared --enable-static" |
|
C_STANDARD= |
break;; |
break;; |
|
|
*) |
*) |
EXPORT_DYNAMIC=-Wl,--export-dynamic |
EXPORT_DYNAMIC=-Wl,--export-dynamic |
NESTED_FUNCTIONS= |
NESTED_FUNCTIONS= |
SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES |
SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES |
|
SEMAPHORES_SYSV=-USEMAPHORES_SYSV |
ac_configure_args="$ac_configure_args --with-readline=builtin \ |
ac_configure_args="$ac_configure_args --with-readline=builtin \ |
--disable-shared --enable-static" |
--disable-shared --enable-static" |
|
C_STANDARD=-std=gnu99 |
break ;; |
break ;; |
|
|
esac |
esac |
|
|
|
AC_SUBST(C_STANDARD) |
AC_SUBST(EXPORT_DYNAMIC) |
AC_SUBST(EXPORT_DYNAMIC) |
AC_SUBST(NESTED_FUNCTIONS) |
AC_SUBST(NESTED_FUNCTIONS) |
AC_SUBST(SEMAPHORES_NOMMES) |
AC_SUBST(SEMAPHORES_NOMMES) |
|
AC_SUBST(SEMAPHORES_SYSV) |
|
AC_SUBST(SEMUN) |
|
AC_SUBST(IPV6) |
|
|
AC_SUBST(NCURSES) |
AC_SUBST(NCURSES) |
AC_SUBST(READLINE) |
AC_SUBST(READLINE) |