version 1.27, 2010/06/24 09:25:15
|
version 1.35, 2010/08/15 14:46:23
|
Line 1
|
Line 1
|
#! /bin/sh |
#! /bin/sh |
# Guess values for system-dependent variables and create Makefiles. |
# Guess values for system-dependent variables and create Makefiles. |
# Generated by GNU Autoconf 2.65 for rpl 4.0.16. |
# Generated by GNU Autoconf 2.65 for rpl 4.0.18. |
# |
# |
# |
# |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
Line 549 MAKEFLAGS=
|
Line 549 MAKEFLAGS=
|
# Identity of this package. |
# Identity of this package. |
PACKAGE_NAME='rpl' |
PACKAGE_NAME='rpl' |
PACKAGE_TARNAME='rpl' |
PACKAGE_TARNAME='rpl' |
PACKAGE_VERSION='4.0.16' |
PACKAGE_VERSION='4.0.18' |
PACKAGE_STRING='rpl 4.0.16' |
PACKAGE_STRING='rpl 4.0.18' |
PACKAGE_BUGREPORT='' |
PACKAGE_BUGREPORT='' |
PACKAGE_URL='' |
PACKAGE_URL='' |
|
|
Line 596 ac_subst_vars='am__EXEEXT_FALSE
|
Line 596 ac_subst_vars='am__EXEEXT_FALSE
|
am__EXEEXT_TRUE |
am__EXEEXT_TRUE |
LTLIBOBJS |
LTLIBOBJS |
LIBOBJS |
LIBOBJS |
|
EXT_SQL |
MALLOC |
MALLOC |
DATE_FR |
DATE_FR |
FINAL_ENCODING |
FINAL_ENCODING |
Line 609 GSL
|
Line 610 GSL
|
UNITS |
UNITS |
READLINE |
READLINE |
NCURSES |
NCURSES |
|
BROKEN_SIGINFO |
|
IPV6 |
|
SEMUN |
|
SEMAPHORES_SYSV |
SEMAPHORES_NOMMES |
SEMAPHORES_NOMMES |
NESTED_FUNCTIONS |
NESTED_FUNCTIONS |
EXPORT_DYNAMIC |
EXPORT_DYNAMIC |
|
C_STANDARD |
OS |
OS |
GNUPLOT_COMPILATION |
GNUPLOT_COMPILATION |
subdirs |
subdirs |
Line 758 enable_option_checking
|
Line 764 enable_option_checking
|
enable_dependency_tracking |
enable_dependency_tracking |
with_x |
with_x |
enable_optimization |
enable_optimization |
|
enable_full_static |
enable_final_encoding |
enable_final_encoding |
enable_tex |
enable_tex |
enable_vim |
enable_vim |
Line 1338 if test "$ac_init_help" = "long"; then
|
Line 1345 if test "$ac_init_help" = "long"; then
|
# Omit some internal or obsolete options to make the list less imposing. |
# Omit some internal or obsolete options to make the list less imposing. |
# This message is too long to be a string in the A/UX 3.1 sh. |
# This message is too long to be a string in the A/UX 3.1 sh. |
cat <<_ACEOF |
cat <<_ACEOF |
\`configure' configures rpl 4.0.16 to adapt to many kinds of systems. |
\`configure' configures rpl 4.0.18 to adapt to many kinds of systems. |
|
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
Usage: $0 [OPTION]... [VAR=VALUE]... |
|
|
Line 1413 fi
|
Line 1420 fi
|
|
|
if test -n "$ac_init_help"; then |
if test -n "$ac_init_help"; then |
case $ac_init_help in |
case $ac_init_help in |
short | recursive ) echo "Configuration of rpl 4.0.16:";; |
short | recursive ) echo "Configuration of rpl 4.0.18:";; |
esac |
esac |
cat <<\_ACEOF |
cat <<\_ACEOF |
|
|
Line 1424 Optional Features:
|
Line 1431 Optional Features:
|
--disable-dependency-tracking speeds up one-time build |
--disable-dependency-tracking speeds up one-time build |
--enable-dependency-tracking do not reject slow dependency extractors |
--enable-dependency-tracking do not reject slow dependency extractors |
--enable-optimization set compiler flags [default=environment variables -O3] |
--enable-optimization set compiler flags [default=environment variables -O3] |
|
--enable-full-static build static RPL/2 engine [default=shared] |
--enable-final-encoding force final encoding [default=guessed] |
--enable-final-encoding force final encoding [default=guessed] |
--enable-tex provide the TeX support [default=guessed] |
--enable-tex provide the TeX support [default=guessed] |
--enable-vim provide the vim support [default=guessed] |
--enable-vim provide the vim support [default=guessed] |
Line 1526 fi
|
Line 1534 fi
|
test -n "$ac_init_help" && exit $ac_status |
test -n "$ac_init_help" && exit $ac_status |
if $ac_init_version; then |
if $ac_init_version; then |
cat <<\_ACEOF |
cat <<\_ACEOF |
rpl configure 4.0.16 |
rpl configure 4.0.18 |
generated by GNU Autoconf 2.65 |
generated by GNU Autoconf 2.65 |
|
|
Copyright (C) 2009 Free Software Foundation, Inc. |
Copyright (C) 2009 Free Software Foundation, Inc. |
Line 1842 $as_echo "$ac_res" >&6; }
|
Line 1850 $as_echo "$ac_res" >&6; }
|
|
|
} # ac_fn_c_check_func |
} # ac_fn_c_check_func |
|
|
|
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
|
# ------------------------------------------- |
|
# Tests whether TYPE exists after having included INCLUDES, setting cache |
|
# variable VAR accordingly. |
|
ac_fn_c_check_type () |
|
{ |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
$as_echo_n "checking for $2... " >&6; } |
|
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
eval "$3=no" |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
$4 |
|
int |
|
main () |
|
{ |
|
if (sizeof ($2)) |
|
return 0; |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
$4 |
|
int |
|
main () |
|
{ |
|
if (sizeof (($2))) |
|
return 0; |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
|
|
else |
|
eval "$3=yes" |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
fi |
|
eval ac_res=\$$3 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
$as_echo "$ac_res" >&6; } |
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
|
|
|
} # ac_fn_c_check_type |
|
|
# ac_fn_c_try_run LINENO |
# ac_fn_c_try_run LINENO |
# ---------------------- |
# ---------------------- |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
Line 2179 fi
|
Line 2241 fi
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
|
|
} # ac_fn_c_check_header_mongrel |
} # ac_fn_c_check_header_mongrel |
|
|
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
|
# ------------------------------------------- |
|
# Tests whether TYPE exists after having included INCLUDES, setting cache |
|
# variable VAR accordingly. |
|
ac_fn_c_check_type () |
|
{ |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
$as_echo_n "checking for $2... " >&6; } |
|
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
eval "$3=no" |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
$4 |
|
int |
|
main () |
|
{ |
|
if (sizeof ($2)) |
|
return 0; |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
$4 |
|
int |
|
main () |
|
{ |
|
if (sizeof (($2))) |
|
return 0; |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
|
|
else |
|
eval "$3=yes" |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
fi |
|
eval ac_res=\$$3 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
$as_echo "$ac_res" >&6; } |
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
|
|
|
} # ac_fn_c_check_type |
|
cat >config.log <<_ACEOF |
cat >config.log <<_ACEOF |
This file contains any messages produced by compilers while |
This file contains any messages produced by compilers while |
running configure, to aid debugging if configure makes a mistake. |
running configure, to aid debugging if configure makes a mistake. |
|
|
It was created by rpl $as_me 4.0.16, which was |
It was created by rpl $as_me 4.0.18, which was |
generated by GNU Autoconf 2.65. Invocation command line was |
generated by GNU Autoconf 2.65. Invocation command line was |
|
|
$ $0 $@ |
$ $0 $@ |
Line 3156 fi
|
Line 3164 fi
|
|
|
# Define the identity of the package. |
# Define the identity of the package. |
PACKAGE='rpl' |
PACKAGE='rpl' |
VERSION='4.0.16' |
VERSION='4.0.18' |
|
|
|
|
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
Line 3202 ac_config_headers="$ac_config_headers rp
|
Line 3210 ac_config_headers="$ac_config_headers rp
|
|
|
NCURSES=ncurses-5.7-20100619 |
NCURSES=ncurses-5.7-20100619 |
READLINE=readline-6.1 |
READLINE=readline-6.1 |
UNITS=units-1.87 |
UNITS=units-1.88 |
GSL=gsl-1.14 |
GSL=gsl-1.14 |
GPP=gpp-2.24 |
GPP=gpp-2.24 |
GNUPLOT=gnuplot-4.4.0 |
GNUPLOT=gnuplot-4.4.0 |
FILE=file-5.03 |
FILE=file-5.03 |
ICONV=libiconv-1.13.1 |
ICONV=libiconv-1.13.1 |
SQLITE=sqlite-3.6.23.1 |
SQLITE=sqlite-3.7.0.1 |
OPENSSL=openssl-1.0.0a |
OPENSSL=openssl-1.0.0a |
|
|
ac_ext=c |
ac_ext=c |
Line 4000 fi
|
Line 4008 fi
|
|
|
|
|
|
|
|
EXT_SQL= |
|
|
if test x"$CC" != x""; then |
if test x"$CC" != x""; then |
GCC_VERSION_MAJEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \ |
GCC_VERSION_MAJEURE=`$CC -v 2>&1 | awk '/^gcc/ { print $3; }' | \ |
awk -F. '{ printf("%s", $1);}'` |
awk -F. '{ printf("%s", $1);}'` |
Line 5846 else
|
Line 5856 else
|
fi |
fi |
|
|
|
|
|
# Check whether --enable-full-static was given. |
|
if test "${enable_full_static+set}" = set; then : |
|
enableval=$enable_full_static; |
|
if test "$enableval" = "no"; then |
|
STATIC=no |
|
else |
|
STATIC=yes |
|
fi |
|
else |
|
STATIC=no |
|
fi |
|
|
|
|
# Check whether --enable-final-encoding was given. |
# Check whether --enable-final-encoding was given. |
if test "${enable_final_encoding+set}" = set; then : |
if test "${enable_final_encoding+set}" = set; then : |
enableval=$enable_final_encoding; |
enableval=$enable_final_encoding; |
if test "$enableval" = "no"; then |
if test "$enableval" = "no"; then |
FINAL_ENCODING="\$(shell locale charmap | \ |
FINAL_ENCODING="\$(shell locale charmap | \ |
\$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')" |
\$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')" |
|
FORCED_FINAL_ENCODING=0 |
else |
else |
FINAL_ENCODING="$enable_final_encoding" |
FINAL_ENCODING="$enable_final_encoding" |
|
FORCED_FINAL_ENCODING=1 |
fi |
fi |
else |
else |
FINAL_ENCODING="\$(shell locale charmap | \ |
|
|
FORCED_FINAL_ENCODING=0 |
|
FINAL_ENCODING="\$(shell locale charmap | \ |
\$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')" |
\$(AWK) '/\=/ { print \$\$3;} !/\=/ { print \$\$1;}')" |
fi |
fi |
|
|
Line 6048 fi
|
Line 6075 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 6065 fi
|
Line 6098 fi
|
if test ! -d "$srcdir"/tools/$SQLITE; then |
if test ! -d "$srcdir"/tools/$SQLITE; then |
gunzip -c "$srcdir"/tools/$SQLITE.tar.gz | \ |
gunzip -c "$srcdir"/tools/$SQLITE.tar.gz | \ |
(cd "$srcdir/tools" && tar -xf -) |
(cd "$srcdir/tools" && tar -xf -) |
|
(cd "$srcdir/tools"/$SQLITE && gunzip -c ../$SQLITE.diff.gz | patch -p1) |
fi |
fi |
if test ! -d tools/$OPENSSL; then |
if test ! -d tools/$OPENSSL; then |
gunzip -c "$srcdir"/tools/$OPENSSL.tar.gz | \ |
gunzip -c "$srcdir"/tools/$OPENSSL.tar.gz | \ |
Line 6884 else
|
Line 6918 else
|
fi |
fi |
|
|
|
|
|
ac_fn_c_check_type "$LINENO" "union semun" "ac_cv_type_union_semun" " |
|
#include <sys/sem.h> |
|
|
|
" |
|
if test "x$ac_cv_type_union_semun" = x""yes; then : |
|
SEMUN=-DUNION_SEMUN |
|
else |
|
SEMUN=-UUNION_SEMUN |
|
fi |
|
|
|
|
|
ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" " |
|
#include <sys/types.h> |
|
#include <netinet/in.h> |
|
|
|
" |
|
if test "x$ac_cv_type_struct_sockaddr_in6" = x""yes; then : |
|
IPV6=-DIPV6 |
|
else |
|
IPV6=-UIPV6 |
|
fi |
|
|
|
|
if test "$CYGWIN" != yes; then |
if test "$CYGWIN" != yes; then |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
$as_echo_n "checking for dlopen in -ldl... " >&6; } |
Line 7030 fi
|
Line 7087 fi
|
|
|
if test "x$with_mysql" = xcheck -o "x$with_mysql" = yes; then |
if test "x$with_mysql" = xcheck -o "x$with_mysql" = yes; then |
libMySQLinc="-I/usr/include" |
libMySQLinc="-I/usr/include" |
libMySQLlib="-L/usr/lib" |
libMySQLlib="/usr/lib" |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in /usr/include" >&5 |
$as_echo_n "checking for libmysql includes in /usr/include... " >&6; } |
$as_echo_n "checking for libmysql includes in /usr/include... " >&6; } |
saved_CFLAGS="$CFLAGS" |
saved_CFLAGS="$CFLAGS" |
CFLAGS="$CFLAGS $libMySQLinc" |
CFLAGS="$CFLAGS -L/$libMySQLinc" |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
#include "mysql.h" |
#include "mysql.h" |
Line 7149 rm -f core conftest.err conftest.$ac_obj
|
Line 7206 rm -f core conftest.err conftest.$ac_obj
|
else |
else |
if test "x$with_mysql" != xno; then |
if test "x$with_mysql" != xno; then |
libMySQLinc="-I$with_mysql/include" |
libMySQLinc="-I$with_mysql/include" |
libMySQLlib="-L$with_mysql/lib" |
libMySQLlib="$with_mysql/lib" |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql includes in $with_mysql" >&5 |
$as_echo_n "checking for libmysql includes in $with_mysql... " >&6; } |
$as_echo_n "checking for libmysql includes in $with_mysql... " >&6; } |
Line 7217 if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPP
|
Line 7274 if test "$MYSQL_SUPPORT" = "-DMYSQL_SUPP
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql libraries in $libMySQLlib" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmysql libraries in $libMySQLlib" >&5 |
$as_echo_n "checking for libmysql libraries in $libMySQLlib... " >&6; } |
$as_echo_n "checking for libmysql libraries in $libMySQLlib... " >&6; } |
saved_LIBS="$LIBS" |
saved_LIBS="$LIBS" |
LIBS="$LIBS $libMySQLlib $libMySQLinc -lmysqlclient_r" |
if test $STATIC = no; then |
|
LIBS="$LIBS -L/$libMySQLlib -lmysqlclient_r $libMySQLinc" |
|
else |
|
LIBS="$LIBS $libMySQLlib/libmysqlclient_r.a -lz $libMySQLinc" |
|
fi |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
#include "mysql.h" |
#include "mysql.h" |
Line 7239 fi
|
Line 7300 fi
|
rm -f core conftest.err conftest.$ac_objext \ |
rm -f core conftest.err conftest.$ac_objext \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
LIBS=$saved_LIBS; |
LIBS=$saved_LIBS; |
libMySQLlib="$libMySQLlib -lmysqlclient_r" |
if test $STATIC = no; then |
|
libMySQLlib="-L/$libMySQLlib -lmysqlclient_r" |
|
else |
|
libMySQLlib="$libMySQLlib/libmysqlclient_r.a" |
|
EXT_SQL="$EXT_SQL $libMySQLlib" |
|
fi |
fi |
fi |
|
|
if test $MYSQL_LIB = no; then |
if test $MYSQL_LIB = no; then |
Line 7271 fi
|
Line 7337 fi
|
|
|
if test "x$with_postgresql" = xcheck -o "x$with_postgresql" = xyes; then |
if test "x$with_postgresql" = xcheck -o "x$with_postgresql" = xyes; then |
libPgSQLinc="-I/usr/include" |
libPgSQLinc="-I/usr/include" |
libPgSQLlib="-L/usr/lib" |
libPgSQLlib="/usr/lib" |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in /usr/include" >&5 |
$as_echo_n "checking for libpq includes in /usr/include... " >&6; } |
$as_echo_n "checking for libpq includes in /usr/include... " >&6; } |
Line 7453 rm -f core conftest.err conftest.$ac_obj
|
Line 7519 rm -f core conftest.err conftest.$ac_obj
|
else |
else |
if test "x$with_postgresql" != xno; then |
if test "x$with_postgresql" != xno; then |
libPgSQLinc="-I$with_postgresql/include" |
libPgSQLinc="-I$with_postgresql/include" |
libPgSQLlib="-L$with_postgresql/lib" |
libPgSQLlib="$with_postgresql/lib" |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq includes in $libPgSQLinc" >&5 |
$as_echo_n "checking for libpq includes in $libPgSQLinc... " >&6; } |
$as_echo_n "checking for libpq includes in $libPgSQLinc... " >&6; } |
Line 7553 if test "$POSTGRESQL_SUPPORT" = "-DPOSTG
|
Line 7619 if test "$POSTGRESQL_SUPPORT" = "-DPOSTG
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq libraries in $libPgSQLlib" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpq libraries in $libPgSQLlib" >&5 |
$as_echo_n "checking for libpq libraries in $libPgSQLlib... " >&6; } |
$as_echo_n "checking for libpq libraries in $libPgSQLlib... " >&6; } |
saved_LIBS="$LIBS" |
saved_LIBS="$LIBS" |
LIBS="$LIBS $libPgSQLlib $libPgSQLinc -lpq" |
if test $STATIC = no; then |
|
LIBS="$LIBS -L/$libPgSQLlib $libPgSQLinc -lpq" |
|
else |
|
LIBS="$LIBS $libPgSQLlib/libpq.a $libPgSQLinc" |
|
fi |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
#include "libpq-fe.h" |
#include "libpq-fe.h" |
Line 7576 fi
|
Line 7646 fi
|
rm -f core conftest.err conftest.$ac_objext \ |
rm -f core conftest.err conftest.$ac_objext \ |
conftest$ac_exeext conftest.$ac_ext |
conftest$ac_exeext conftest.$ac_ext |
LIBS=$saved_LIBS; |
LIBS=$saved_LIBS; |
libPgSQLlib="$libPgSQLlib -lpq" |
if test $STATIC = no; then |
|
libPgSQLlib="-L/$libPgSQLlib -lpq" |
|
else |
|
libPgSQLlib="$libPgSQLlib/libpq.a" |
|
EXT_SQL="$EXT_SQL $libPgSQLlib" |
|
fi |
fi |
fi |
fi |
fi |
|
|
Line 8721 cat >>confdefs.h <<_ACEOF
|
Line 8796 cat >>confdefs.h <<_ACEOF
|
_ACEOF |
_ACEOF |
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken siginfo->si_pid" >&5 |
|
$as_echo_n "checking for broken siginfo->si_pid... " >&6; } |
|
if test "$cross_compiling" = yes; then : |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
as_fn_error "cannot run test program while cross compiling |
|
See \`config.log' for more details." "$LINENO" 5; } |
|
else |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
#include <unistd.h> |
|
#include <signal.h> |
|
int flag; |
|
void handler(int signal, siginfo_t *siginfo, void *context) |
|
{ flag = ((*siginfo).si_pid == getpid()) ? 0 : -1; } |
|
int |
|
main () |
|
{ |
|
struct sigaction action; |
|
action.sa_sigaction = handler; |
|
action.sa_flags = SA_SIGINFO; |
|
sigaction(SIGUSR1, &action, NULL); |
|
raise(SIGUSR1); |
|
return(flag); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_run "$LINENO"; then : |
|
BROKEN_SIGINFO=-U_BROKEN_SIGINFO; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
else |
|
BROKEN_SIGINFO=-D_BROKEN_SIGINFO; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
fi |
|
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
fi |
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5 |
$as_echo_n "checking for working strcoll... " >&6; } |
$as_echo_n "checking for working strcoll... " >&6; } |
if test "${ac_cv_func_strcoll_works+set}" = set; then : |
if test "${ac_cv_func_strcoll_works+set}" = set; then : |
Line 8849 fi
|
Line 8964 fi
|
done |
done |
|
|
|
|
ac_configure_args="$ac_configure_args --with-readline=builtin --disable-shared --enable-static" |
|
|
# Check whether --with-openssl_arch was given. |
|
if test "${with_openssl_arch+set}" = set; then : |
|
withval=$with_openssl_arch; |
|
else |
|
with_openssl_arch=none |
|
fi |
|
|
|
|
|
if test $(uname) = "OS/2"; then |
|
bash -c "cd tools/$OPENSSL && os2/OS2-EMX.cmd" |
|
else |
|
if test "x$with_openssl_arch" = xnone; then |
|
(cd tools/$OPENSSL && ./config) |
|
elif test "x$with_openssl_arch" = xyes -o "x$with_openssl_arch" = xno; then |
|
(cd tools/$OPENSSL && ./Configure) |
|
as_fn_error "OS/COMP informations are required!" "$LINENO" 5 |
|
elif test "x$with_openssl_arch" = xlist; then |
|
(cd tools/$OPENSSL && ./Configure) |
|
as_fn_error "Please specify OS and Architecture" "$LINENO" 5 |
|
else |
|
(cd tools/$OPENSSL && ./Configure $with_openssl_arch) |
|
fi |
|
fi |
|
|
|
|
|
|
Line 8870 subdirs="$subdirs tools/$SQLITE"
|
Line 9008 subdirs="$subdirs tools/$SQLITE"
|
subdirs="$subdirs tools/$UNITS" |
subdirs="$subdirs tools/$UNITS" |
|
|
|
|
|
|
# Check whether --with-openssl_arch was given. |
|
if test "${with_openssl_arch+set}" = set; then : |
|
withval=$with_openssl_arch; |
|
else |
|
with_openssl_arch=none |
|
fi |
|
|
|
|
|
if test "x$with_openssl_arch" = xnone; then |
|
(cd tools/$OPENSSL && ./config) |
|
elif test "x$with_openssl_arch" = xyes -o "x$with_openssl_arch" = xno; then |
|
(cd tools/$OPENSSL && ./Configure) |
|
as_fn_error "OS/COMP informations are required!" "$LINENO" 5 |
|
elif test "x$with_openssl_arch" = xlist; then |
|
(cd tools/$OPENSSL && ./Configure) |
|
as_fn_error "Please specify OS and Architecture" "$LINENO" 5 |
|
else |
|
(cd tools/$OPENSSL && ./Configure $with_openssl_arch) |
|
fi |
|
|
|
if test "$MYGNUPLOT" = "yes"; then |
if test "$MYGNUPLOT" = "yes"; then |
if test ! -d "$srcdir"/tools/$GNUPLOT; then |
if test ! -d "$srcdir"/tools/$GNUPLOT; then |
gunzip -c "$srcdir"/tools/$GNUPLOT.tar.gz | \ |
gunzip -c "$srcdir"/tools/$GNUPLOT.tar.gz | \ |
Line 8961 DATE=$(env LC_ALL=C date +'%A %x, %X %Z'
|
Line 9078 DATE=$(env LC_ALL=C date +'%A %x, %X %Z'
|
case $OS in |
case $OS in |
|
|
Darwin) |
Darwin) |
EXPORT_DYNAMIC=-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 \ |
|
--disable-shared --enable-static" |
|
C_STANDARD=-std=gnu99 |
break ;; |
break ;; |
|
|
Cygwin) |
Cygwin) |
EXPORT_DYNAMIC=--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 \ |
|
--disable-shared --enable-static" |
|
C_STANDARD=-std=gnu99 |
break ;; |
break ;; |
|
|
AIX) |
Interix) |
EXPORT_DYNAMIC=--export-dynamic |
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) |
|
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 \ |
|
--disable-shared --enable-static" |
|
C_STANDARD=-std=gnu99 |
break ;; |
break ;; |
|
|
|
OS/2) |
|
MALLOC= |
|
if test FORCED_FINAL_ENCODING -eq 0; then \ |
|
FINAL_ENCODING=CP850; \ |
|
fi; |
|
OS=OS2 |
|
NESTED_FUNCTIONS= |
|
EXPORT_DYNAMIC=-Zmap |
|
SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES |
|
SEMAPHORES_SYSV=-DSEMAPHORES_SYSV |
|
ac_configure_args="$ac_configure_args --without-readline \ |
|
--without-cairo --disable-shared --enable-static" |
|
C_STANDARD= |
|
break;; |
|
|
|
OpenBSD) |
|
if test FORCED_FINAL_ENCODING -eq 0; then \ |
|
FINAL_ENCODING=UTF-8; \ |
|
fi; |
|
EXPORT_DYNAMIC=-Wl,--export-dynamic |
|
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;; |
|
|
*) |
*) |
EXPORT_DYNAMIC=--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 \ |
|
--disable-shared --enable-static" |
|
C_STANDARD=-std=gnu99 |
break ;; |
break ;; |
|
|
esac |
esac |
Line 9011 esac
|
Line 9182 esac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ac_config_files="$ac_config_files Makefile" |
ac_config_files="$ac_config_files Makefile" |
|
|
ac_config_files="$ac_config_files COPYING" |
ac_config_files="$ac_config_files COPYING" |
Line 9592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
|
Line 9769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
|
# report actual input values of CONFIG_FILES etc. instead of their |
# report actual input values of CONFIG_FILES etc. instead of their |
# values after options handling. |
# values after options handling. |
ac_log=" |
ac_log=" |
This file was extended by rpl $as_me 4.0.16, which was |
This file was extended by rpl $as_me 4.0.18, which was |
generated by GNU Autoconf 2.65. Invocation command line was |
generated by GNU Autoconf 2.65. Invocation command line was |
|
|
CONFIG_FILES = $CONFIG_FILES |
CONFIG_FILES = $CONFIG_FILES |
Line 9658 _ACEOF
|
Line 9835 _ACEOF
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
ac_cs_version="\\ |
ac_cs_version="\\ |
rpl config.status 4.0.16 |
rpl config.status 4.0.18 |
configured by $0, generated by GNU Autoconf 2.65, |
configured by $0, generated by GNU Autoconf 2.65, |
with options \\"\$ac_cs_config\\" |
with options \\"\$ac_cs_config\\" |
|
|