version 1.56, 2011/04/21 15:59:42
|
version 1.101, 2012/01/18 08:45:49
|
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.67 for rpl 4.1.0.prerelease.0. |
# Generated by GNU Autoconf 2.67 for rpl 4.1.6. |
# |
# |
# |
# |
# 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.1.0.prerelease.0' |
PACKAGE_VERSION='4.1.6' |
PACKAGE_STRING='rpl 4.1.0.prerelease.0' |
PACKAGE_STRING='rpl 4.1.6' |
PACKAGE_BUGREPORT='' |
PACKAGE_BUGREPORT='' |
PACKAGE_URL='' |
PACKAGE_URL='' |
|
|
|
enable_option_checking=no |
ac_default_prefix=/usr/local |
ac_default_prefix=/usr/local |
# Factoring default headers for most tests. |
# Factoring default headers for most tests. |
ac_includes_default="\ |
ac_includes_default="\ |
Line 591 ac_includes_default="\
|
Line 592 ac_includes_default="\
|
# include <unistd.h> |
# include <unistd.h> |
#endif" |
#endif" |
|
|
enable_option_checking=no |
|
ac_subst_vars='am__EXEEXT_FALSE |
ac_subst_vars='am__EXEEXT_FALSE |
am__EXEEXT_TRUE |
am__EXEEXT_TRUE |
LTLIBOBJS |
LTLIBOBJS |
LIBOBJS |
LIBOBJS |
|
LIBMOTIF |
|
INCMOTIF |
GIAC |
GIAC |
PARI |
PARI |
COCOA |
COCOA |
Line 606 MALLOC
|
Line 608 MALLOC
|
EXT_SQL |
EXT_SQL |
DATE_FR |
DATE_FR |
FINAL_ENCODING |
FINAL_ENCODING |
|
SIGSEGV |
|
BUILD_OPENMOTIF |
|
OPENMOTIF |
|
LIBXPM |
OPENSSL |
OPENSSL |
SQLITE |
SQLITE |
ICONV |
ICONV |
Line 616 GSL
|
Line 622 GSL
|
UNITS |
UNITS |
READLINE |
READLINE |
NCURSES |
NCURSES |
|
ARCH |
|
ELF |
BSH_PATH |
BSH_PATH |
BROKEN_SIGINFO |
|
IPV6 |
IPV6 |
SEMUN |
SEMUN |
IPCS_SYSV |
IPCS_SYSV |
Line 625 SEMAPHORES_NOMMES
|
Line 632 SEMAPHORES_NOMMES
|
NESTED_FUNCTIONS |
NESTED_FUNCTIONS |
EXPORT_DYNAMIC |
EXPORT_DYNAMIC |
C_STANDARD |
C_STANDARD |
|
LIB_PREFIX |
|
WHOLE_LIB2 |
|
WHOLE_LIB1 |
OS |
OS |
|
HOST |
GNUPLOT_COMPILATION |
GNUPLOT_COMPILATION |
subdirs |
|
EGREP |
EGREP |
GREP |
GREP |
libPgSQLlib |
libPgSQLlib |
Line 658 RANLIB
|
Line 668 RANLIB
|
LN_S |
LN_S |
RUNPATH |
RUNPATH |
PROFILAGE |
PROFILAGE |
|
subdirs |
|
PSELECT |
|
SHARED_MEMORY |
|
LIBRPLCAS |
|
RPLCAS |
|
ABI |
|
RPLTOOLS |
X_EXTRA_LIBS |
X_EXTRA_LIBS |
X_LIBS |
X_LIBS |
X_PRE_LIBS |
X_PRE_LIBS |
Line 692 CPPFLAGS
|
Line 709 CPPFLAGS
|
LDFLAGS |
LDFLAGS |
CFLAGS |
CFLAGS |
CC |
CC |
|
AM_BACKSLASH |
|
AM_DEFAULT_VERBOSITY |
am__untar |
am__untar |
am__tar |
am__tar |
AMTAR |
AMTAR |
Line 768 SHELL'
|
Line 787 SHELL'
|
ac_subst_files='' |
ac_subst_files='' |
ac_user_opts=' |
ac_user_opts=' |
enable_option_checking |
enable_option_checking |
|
enable_silent_rules |
enable_dependency_tracking |
enable_dependency_tracking |
with_x |
with_x |
|
with_32bits_abi |
|
with_64bits_abi |
|
enable_recursive |
|
with_rpltools |
|
enable_rplcas |
enable_optimization |
enable_optimization |
enable_sysv_semaphores |
enable_sysv_ipcs |
enable_full_static |
enable_full_static |
enable_final_encoding |
enable_final_encoding |
enable_tex |
enable_tex |
Line 805 FC
|
Line 830 FC
|
FCFLAGS |
FCFLAGS |
XMKMF |
XMKMF |
CPP' |
CPP' |
ac_subdirs_all='tools/$NCURSES |
ac_subdirs_all='tools/$LIBXPM |
|
tools/$OPENMOTIF |
|
tools/$GNUPLOT |
|
tools/$NCURSES |
tools/$READLINE |
tools/$READLINE |
tools/$GSL |
tools/$GSL |
tools/$GPP |
tools/$GPP |
Line 813 tools/$FILE
|
Line 841 tools/$FILE
|
tools/$ICONV |
tools/$ICONV |
tools/$SQLITE |
tools/$SQLITE |
tools/$UNITS |
tools/$UNITS |
tools/$GNUPLOT' |
tools/$SIGSEGV' |
|
|
# Initialize some variables set by options. |
# Initialize some variables set by options. |
ac_init_help= |
ac_init_help= |
Line 1355 if test "$ac_init_help" = "long"; then
|
Line 1383 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.1.0.prerelease.0 to adapt to many kinds of systems. |
\`configure' configures rpl 4.1.6 to adapt to many kinds of systems. |
|
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
Usage: $0 [OPTION]... [VAR=VALUE]... |
|
|
Line 1430 fi
|
Line 1458 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.1.0.prerelease.0:";; |
short | recursive ) echo "Configuration of rpl 4.1.6:";; |
esac |
esac |
cat <<\_ACEOF |
cat <<\_ACEOF |
|
|
Line 1438 Optional Features:
|
Line 1466 Optional Features:
|
--disable-option-checking ignore unrecognized --enable/--with options |
--disable-option-checking ignore unrecognized --enable/--with options |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
|
--enable-silent-rules less verbose build output (undo: `make V=1') |
|
--disable-silent-rules verbose build output (undo: `make V=0') |
--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-recursive recursive configuration (default=yes) |
|
--enable-rplcas compile rplcas (default=no) |
--enable-optimization set compiler flags [default=environment variables -O3] |
--enable-optimization set compiler flags [default=environment variables -O3] |
--enable-sysv-ipcs use SystemV IPC functions [default=no] |
--enable-sysv-ipcs use SystemV IPC functions [default=guessed] |
--enable-full-static build static RPL/2 engine [default=shared] |
--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] |
Line 1458 Optional Packages:
|
Line 1490 Optional Packages:
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
--with-x use the X Window System |
--with-x use the X Window System |
|
--with-32bits-abi force 32bits ABI (multilib) |
|
--with-64bits-abi force 64bits ABI (multilib) |
|
--with-rpltools specify rpltools path used for cross compilation |
--with-mysql=PATH specify directory for installed mysql |
--with-mysql=PATH specify directory for installed mysql |
--with-postgresql=PATH specify directory for installed postgresql |
--with-postgresql=PATH specify directory for installed postgresql |
--with-bourne-shell=PATH specify path for OS/2 bourne shell |
--with-bourne-shell=PATH specify path for OS/2 bourne shell |
Line 1546 fi
|
Line 1581 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.1.0.prerelease.0 |
rpl configure 4.1.6 |
generated by GNU Autoconf 2.67 |
generated by GNU Autoconf 2.67 |
|
|
Copyright (C) 2010 Free Software Foundation, Inc. |
Copyright (C) 2010 Free Software Foundation, Inc. |
Line 1862 $as_echo "$ac_res" >&6; }
|
Line 1897 $as_echo "$ac_res" >&6; }
|
|
|
} # ac_fn_c_check_func |
} # ac_fn_c_check_func |
|
|
|
# ac_fn_c_try_run LINENO |
|
# ---------------------- |
|
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
|
# that executables *can* be run. |
|
ac_fn_c_try_run () |
|
{ |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
if { { ac_try="$ac_link" |
|
case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo"; } >&5 |
|
(eval "$ac_link") 2>&5 |
|
ac_status=$? |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
|
{ { case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo"; } >&5 |
|
(eval "$ac_try") 2>&5 |
|
ac_status=$? |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
test $ac_status = 0; }; }; then : |
|
ac_retval=0 |
|
else |
|
$as_echo "$as_me: program exited with status $ac_status" >&5 |
|
$as_echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_retval=$ac_status |
|
fi |
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
|
as_fn_set_status $ac_retval |
|
|
|
} # ac_fn_c_try_run |
|
|
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
# ------------------------------------------- |
# ------------------------------------------- |
# Tests whether TYPE exists after having included INCLUDES, setting cache |
# Tests whether TYPE exists after having included INCLUDES, setting cache |
Line 1916 $as_echo "$ac_res" >&6; }
|
Line 1993 $as_echo "$ac_res" >&6; }
|
|
|
} # ac_fn_c_check_type |
} # ac_fn_c_check_type |
|
|
# ac_fn_c_try_run LINENO |
|
# ---------------------- |
|
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
|
# that executables *can* be run. |
|
ac_fn_c_try_run () |
|
{ |
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
if { { ac_try="$ac_link" |
|
case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo"; } >&5 |
|
(eval "$ac_link") 2>&5 |
|
ac_status=$? |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
|
{ { case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo"; } >&5 |
|
(eval "$ac_try") 2>&5 |
|
ac_status=$? |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
test $ac_status = 0; }; }; then : |
|
ac_retval=0 |
|
else |
|
$as_echo "$as_me: program exited with status $ac_status" >&5 |
|
$as_echo "$as_me: failed program was:" >&5 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
ac_retval=$ac_status |
|
fi |
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
|
as_fn_set_status $ac_retval |
|
|
|
} # ac_fn_c_try_run |
|
|
|
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES |
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES |
# -------------------------------------------- |
# -------------------------------------------- |
# Tries to find the compile-time value of EXPR in a program that includes |
# Tries to find the compile-time value of EXPR in a program that includes |
Line 2257 cat >config.log <<_ACEOF
|
Line 2292 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.1.0.prerelease.0, which was |
It was created by rpl $as_me 4.1.6, which was |
generated by GNU Autoconf 2.67. Invocation command line was |
generated by GNU Autoconf 2.67. Invocation command line was |
|
|
$ $0 $@ |
$ $0 $@ |
Line 3161 else
|
Line 3196 else
|
fi |
fi |
rmdir .tst 2>/dev/null |
rmdir .tst 2>/dev/null |
|
|
|
# Check whether --enable-silent-rules was given. |
|
if test "${enable_silent_rules+set}" = set; then : |
|
enableval=$enable_silent_rules; |
|
fi |
|
|
|
case $enable_silent_rules in |
|
yes) AM_DEFAULT_VERBOSITY=0;; |
|
no) AM_DEFAULT_VERBOSITY=1;; |
|
*) AM_DEFAULT_VERBOSITY=1;; |
|
esac |
|
AM_BACKSLASH='\' |
|
|
if test "`cd $srcdir && pwd`" != "`pwd`"; then |
if test "`cd $srcdir && pwd`" != "`pwd`"; then |
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
# is not polluted with repeated "-I." |
# is not polluted with repeated "-I." |
Line 3183 fi
|
Line 3230 fi
|
|
|
# Define the identity of the package. |
# Define the identity of the package. |
PACKAGE='rpl' |
PACKAGE='rpl' |
VERSION='4.1.0.prerelease.0' |
VERSION='4.1.6' |
|
|
|
|
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
Line 3223 am__tar='${AMTAR} chof - "$$tardir"'; am
|
Line 3270 am__tar='${AMTAR} chof - "$$tardir"'; am
|
|
|
|
|
|
|
|
# Check whether --enable-silent-rules was given. |
|
if test "${enable_silent_rules+set}" = set; then : |
|
enableval=$enable_silent_rules; |
|
fi |
|
|
|
case $enable_silent_rules in |
|
yes) AM_DEFAULT_VERBOSITY=0;; |
|
no) AM_DEFAULT_VERBOSITY=1;; |
|
*) AM_DEFAULT_VERBOSITY=0;; |
|
esac |
|
AM_BACKSLASH='\' |
|
|
|
|
ac_config_headers="$ac_config_headers rplconfig.h" |
ac_config_headers="$ac_config_headers rplconfig.h" |
|
|
Line 3230 ac_config_headers="$ac_config_headers rp
|
Line 3289 ac_config_headers="$ac_config_headers rp
|
NCURSES=ncurses-5.9 |
NCURSES=ncurses-5.9 |
READLINE=readline-6.2 |
READLINE=readline-6.2 |
UNITS=units-1.88 |
UNITS=units-1.88 |
GSL=gsl-1.14 |
GSL=gsl-1.15 |
GPP=gpp-2.24 |
GPP=gpp-3.0 |
GNUPLOT=gnuplot-4.4.3 |
GNUPLOT=gnuplot-4.4.3 |
FILE=file-5.03 |
FILE=file-5.03 |
ICONV=libiconv-1.13.1 |
ICONV=libiconv-1.13.1 |
SQLITE=sqlite-3.7.5 |
SQLITE=sqlite-3.7.10 |
OPENSSL=openssl-1.0.0d |
OPENSSL=openssl-1.0.0f |
|
OPENMOTIF=openmotif-2.3.3 |
|
LIBXPM=libXpm-3.5.9 |
|
SIGSEGV=libsigsegv-2.6 |
|
|
GMP=gmp-5.0.1 |
GMP=gmp-5.0.2 |
MPFR=mpfr-3.0.1 |
MPFR=mpfr-3.0.1 |
NTL=ntl-5.5.2 |
NTL=ntl-5.5.2 |
COCOA=CoCoALib-0.9943 |
COCOA=CoCoALib-0.9943 |
PARI=pari-2.3.5 |
PARI=pari-2.5.0 |
GIAC=giac-0.9.2 |
GIAC=giac-0.9.5 |
|
|
ac_ext=c |
ac_ext=c |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
Line 4576 if test "$GXX" != yes; then
|
Line 4638 if test "$GXX" != yes; then
|
as_fn_error $? "Cannot find g++! You have to install it." "$LINENO" 5 |
as_fn_error $? "Cannot find g++! You have to install it." "$LINENO" 5 |
fi |
fi |
|
|
|
if test x"$CXX" != x""; then |
|
GCC_VERSION_MAJEURE=`$CXX -v 2>&1 | awk '/^gcc/ { print $3; }' | \ |
|
awk -F. '{ printf("%s", $1);}'` |
|
GCC_VERSION_MINEURE=`$CXX -v 2>&1 | awk '/^gcc/ { print $3; }' | \ |
|
awk -F. '{ printf("%s", $2);}'` |
|
if test $GCC_VERSION_MAJEURE -ge 5; then |
|
OPTIMISATION_GXX=-O3 |
|
else |
|
if test $GCC_VERSION_MAJEURE -ge 4 -a $GCC_VERSION_MINEURE -ge 4; then |
|
OPTIMISATION_GXX=-O3 |
|
else |
|
if test $GCC_VERSION_MAJEURE -ge 3; then |
|
OPTIMISATION_GXX=-O2 |
|
else |
|
as_fn_error $? "Cannot find decent or recent g++ (g++-4.3 or better)!" "$LINENO" 5 |
|
fi |
|
fi |
|
fi |
|
fi |
|
|
ac_ext=f |
ac_ext=f |
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' |
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' |
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
Line 4788 ac_link='$CC -o conftest$ac_exeext $CFLA
|
Line 4870 ac_link='$CC -o conftest$ac_exeext $CFLA
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
|
if test "$F77" != gfortran -a "$F77" != gfortran-4.4; then |
|
as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5 |
|
fi |
|
|
|
ac_ext=${ac_fc_srcext-f} |
ac_ext=${ac_fc_srcext-f} |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5' |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5' |
Line 4999 ac_link='$CC -o conftest$ac_exeext $CFLA
|
Line 5077 ac_link='$CC -o conftest$ac_exeext $CFLA
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
|
if test "$FC" != gfortran -a "$FC" != gfortran-4.4; then |
if test x"$F77" == x; then |
|
as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5 |
|
fi |
|
|
|
if test x"$FC" == x; then |
as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5 |
as_fn_error $? "Cannot find gfortran! You have to install it." "$LINENO" 5 |
fi |
fi |
|
|
Line 5858 if test "$ac_x_libraries" != "no"; then
|
Line 5940 if test "$ac_x_libraries" != "no"; then
|
fi |
fi |
fi |
fi |
|
|
|
|
|
# Check whether --with-32bits-abi was given. |
|
if test "${with_32bits_abi+set}" = set; then : |
|
withval=$with_32bits_abi; |
|
if test "$with-32bits-abi" = "no"; then |
|
ABI= |
|
else |
|
ABI=-m32 |
|
fi |
|
else |
|
|
|
ABI= |
|
|
|
|
|
fi |
|
|
|
|
|
if test x$ABI = x; then |
|
|
|
# Check whether --with-64bits-abi was given. |
|
if test "${with_64bits_abi+set}" = set; then : |
|
withval=$with_64bits_abi; |
|
if test "$with-64bits-abi" = "no"; then |
|
ABI= |
|
else |
|
ABI=-m64 |
|
fi |
|
else |
|
|
|
ABI= |
|
|
|
|
|
fi |
|
|
|
fi |
|
|
|
LDFLAGS="$LDFLAGS $ABI" |
|
|
|
# Check whether --enable-recursive was given. |
|
if test "${enable_recursive+set}" = set; then : |
|
enableval=$enable_recursive; |
|
if test "$enableval" = "yes"; then |
|
RECURSIVE=yes |
|
else |
|
RECURSIVE=no |
|
fi |
|
else |
|
|
|
RECURSIVE=yes |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
# Check whether --with-rpltools was given. |
|
if test "${with_rpltools+set}" = set; then : |
|
withval=$with_rpltools; |
|
if test "$with_rpltools" = "no" -o "$with_rpltools" = yes; then |
|
as_fn_error $? "You have to specify rpltools path !" "$LINENO" 5 |
|
else |
|
RPLTOOLS=$with_rpltools |
|
fi |
|
else |
|
|
|
RPLTOOLS=\$\(top_builddir\) |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
# Check whether --enable-rplcas was given. |
|
if test "${enable_rplcas+set}" = set; then : |
|
enableval=$enable_rplcas; |
|
if test "$enableval" = "no"; then |
|
RPLCAS=-URPLCAS |
|
LIBRPLCAS= |
|
else |
|
RPLCAS=-DRPLCAS |
|
LIBRPLCAS=\$\(top_builddir\)/rplcas/lib/librplcas.a |
|
fi |
|
else |
|
|
|
RPLCAS=-URPLCAS |
|
LIBRPLCAS= |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
# Check whether --enable-optimization was given. |
# Check whether --enable-optimization was given. |
if test "${enable_optimization+set}" = set; then : |
if test "${enable_optimization+set}" = set; then : |
enableval=$enable_optimization; |
enableval=$enable_optimization; |
if test "$enableval" = "no"; then |
if test "$enableval" = "no"; then |
CFLAGS= |
CFLAGS=$ABI |
FFLAGS= |
FFLAGS=$ABI |
CXXFLAGS= |
CXXFLAGS=$ABI |
FCFLAGS= |
FCFLAGS=$ABI |
|
else |
|
CFLAGS="$CFLAGS $ABI $enable_optimization" |
|
FFLAGS="$FFLAGS $ABI $enable_optimization" |
|
CXXFLAGS="$CXXFLAGS $ABI $enable_optimization" |
|
FCFLAGS="$FCFLAGS $ABI $enable_optimization" |
|
fi |
else |
else |
CFLAGS="$CFLAGS $enable_optimization" |
|
FFLAGS="$FFLAGS $enable_optimization" |
CFLAGS="$CFLAGS $ABI $OPTIMISATION_C" |
FCFLAGS="$FCFLAGS $enable_optimization" |
FFLAGS="$FFLAGS $ABI $OPTIMISATION_F" |
|
CXXFLAGS="$CXXFLAGS $ABI $OPTIMISATION_CXX" |
|
FCFLAGS="$FCFLAGS $ABI $OPTIMISATION_F" |
|
|
|
|
fi |
fi |
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for usable shared memory" >&5 |
|
$as_echo_n "checking for usable shared memory... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
#include <sys/shm.h> |
|
|
|
int |
|
main () |
|
{ |
|
return(0); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
SHARED_MEMORY=-DSHARED_MEMORY; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
else |
else |
|
SHARED_MEMORY=-USHARED_MEMORY; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
|
CFLAGS="$CFLAGS $OPTIMISATION_C" |
fi |
FFLAGS="$FFLAGS $OPTIMISATION_F" |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
FCFLAGS="$FCFLAGS $OPTIMISATION_F" |
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pselect" >&5 |
|
$as_echo_n "checking for pselect... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
#include <sys/select.h> |
|
#include <unistd.h> |
|
#include <sys/time.h> |
|
#include <sys/types.h> |
|
|
|
int |
|
main () |
|
{ |
|
|
|
struct timespec tv; |
|
fd_set s1, s2, s3; |
|
tv.tv_sec=1; |
|
tv.tv_nsec=0; |
|
FD_SET(1, &s1); FD_SET(2, &s2); FD_SET(3, &s3); |
|
pselect(5, &s1, &s2, &s3, &tv, NULL); |
|
return(0); |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
PSELECT=-DPSELECT; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
else |
|
PSELECT=-UPSELECT; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
|
fi |
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
|
|
# Check whether --enable-sysv-semaphores was given. |
# Check whether --enable-sysv-ipcs was given. |
if test "${enable_sysv_semaphores+set}" = set; then : |
if test "${enable_sysv_ipcs+set}" = set; then : |
enableval=$enable_sysv_semaphores; |
enableval=$enable_sysv_ipcs; |
if test "$enableval" = "no"; then |
if test "$enableval" = "no"; then |
IPCS_SYSV=no |
IPCS_SYSV=-UIPCS_SYSV |
|
POSIX_IPCS=no |
else |
else |
IPCS_SYSV=yes |
IPCS_SYSV=-DIPCS_SYSV |
|
POSIX_IPCS=yes |
fi |
fi |
else |
else |
IPCS_SYSV=no |
REG=$LDFLAGS |
|
POSIX_IPCS=guessed |
|
LDFLAGS=-lrt |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX semaphores and shared objects" >&5 |
|
$as_echo_n "checking for POSIX semaphores and shared objects... " >&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 <sys/mman.h> |
|
#include <sys/stat.h> |
|
#include <fcntl.h> |
|
|
|
int |
|
main () |
|
{ |
|
int fd; char *sem = "/test"; |
|
fd = shm_open(sem , O_CREAT | O_RDWR, S_IRUSR | S_IWUSR); |
|
close(fd); |
|
shm_unlink(sem); |
|
fd = sem_open(sem, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, 0); |
|
close(fd); |
|
sem_unlink(sem); |
|
return(0); |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_run "$LINENO"; then : |
|
IPCS_SYSV=-UIPCS_SYSV; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
else |
|
IPCS_SYSV=-DIPCS_SYSV; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
|
|
fi |
|
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
fi |
|
|
|
LDFLAGS=$REG |
|
|
|
fi |
|
|
|
|
|
if test "$IPCS_SYSV" = "-UIPCS_SYSV" -a "$POSIX_IPCS" = "guessed"; then |
|
REG=$LDFLAGS |
|
LDFLAGS=-pthread |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX anonymous semaphores" >&5 |
|
$as_echo_n "checking for POSIX anonymous semaphores... " >&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 <semaphore.h> |
|
|
|
int |
|
main () |
|
{ |
|
sem_t sem; |
|
if (sem_init(&sem, 1, 0) != 0) return(1); |
|
sem_destroy(&sem); |
|
return(0); |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_run "$LINENO"; then : |
|
SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
else |
|
SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
|
|
fi |
|
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
conftest.$ac_objext conftest.beam conftest.$ac_ext |
fi |
fi |
|
|
|
LDFLAGS=$REG |
|
REG="" |
|
else |
|
SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES |
|
fi |
|
|
# Check whether --enable-full-static was given. |
# Check whether --enable-full-static was given. |
if test "${enable_full_static+set}" = set; then : |
if test "${enable_full_static+set}" = set; then : |
Line 5989 fi
|
Line 6323 fi
|
fi |
fi |
|
|
|
|
|
libX="" |
|
LIBMOTIF="" |
|
INCMOTIF="" |
|
BUILD_OPENMOTIF="" |
|
|
# Check whether --enable-motif was given. |
# Check whether --enable-motif was given. |
if test "${enable_motif+set}" = set; then : |
if test "${enable_motif+set}" = set; then : |
enableval=$enable_motif; |
enableval=$enable_motif; |
if test "$enableval" = "no"; then |
if test "$enableval" = "no"; then |
MOTIF_SUPPORT="-UMOTIF_SUPPORT" |
MOTIF_SUPPORT="-UMOTIF_SUPPORT" |
else |
else |
CFLAGS_ORIG=$CFLAGS |
MOTIF_SUPPORT="-DMOTIF_SUPPORT" |
LIBS_ORIG=$LIBS |
fi |
CFLAGS="$CFLAGS $X_CFLAGS" |
|
LIBS="$LIB $X_LIBS" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5 |
|
$as_echo_n "checking for main in -lXm... " >&6; } |
|
if test "${ac_cv_lib_Xm_main+set}" = set; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
else |
ac_check_lib_save_LIBS=$LIBS |
if test "$have_x" == "yes"; then |
LIBS="-lXm $LIBS" |
MOTIF_SUPPORT="-DMOTIF_SUPPORT" |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
|
|
int |
|
main () |
|
{ |
|
return main (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_link "$LINENO"; then : |
|
ac_cv_lib_Xm_main=yes |
|
else |
else |
ac_cv_lib_Xm_main=no |
MOTIF_SUPPORT="-UMOTIF_SUPPORT" |
fi |
|
rm -f core conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
LIBS=$ac_check_lib_save_LIBS |
|
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5 |
|
$as_echo "$ac_cv_lib_Xm_main" >&6; } |
|
if test "x$ac_cv_lib_Xm_main" = x""yes; then : |
|
MOTIF_SUPPORT="-DMOTIF_SUPPORT" |
|
else |
|
MOTIF_SUPPORT="-UMOTIF_SUPPORT" |
|
fi |
fi |
|
|
if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can not find Motif! You may install it. |
|
Motif flag is disabled. |
|
" >&5 |
|
$as_echo "$as_me: WARNING: Can not find Motif! You may install it. |
|
Motif flag is disabled. |
|
" >&2;} |
|
fi |
|
LIBS=$LIBS_ORIG |
|
CFLAGS=$CFLAGS_ORIG |
|
fi |
|
else |
|
MOTIF_SUPPORT=guessed |
|
fi |
|
|
|
|
if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then |
|
libX="$X_LIBS -lXt -lX11" |
|
LIBMOTIF="\$(top_builddir)/tools/$OPENMOTIF/lib/Xm/.libs/libXm.a \ |
|
\$(top_builddir)/tools/$LIBXPM/src/.libs/libXpm.a" |
|
INCMOTIF="-I\$(top_srcdir)/tools/$OPENMOTIF/lib \ |
|
-I\$(top_builddir)/tools/$OPENMOTIF/lib \ |
|
-I\$(top_srcdir)/tools/$LIBXPM/include" |
|
BUILD_OPENMOTIF="$LIBXPM $OPENMOTIF" |
|
|
|
if test $RECURSIVE = yes; then |
|
|
|
|
|
subdirs="$subdirs tools/$LIBXPM" |
|
|
|
subdirs="$subdirs tools/$OPENMOTIF" |
|
|
|
fi; |
|
fi |
|
|
# Check whether --enable-experimental was given. |
# Check whether --enable-experimental was given. |
if test "${enable_experimental+set}" = set; then : |
if test "${enable_experimental+set}" = set; then : |
Line 6099 if test ! -d "$srcdir"/tools/$NCURSES; t
|
Line 6412 if test ! -d "$srcdir"/tools/$NCURSES; t
|
gunzip -c "$srcdir"/tools/$NCURSES.tar.gz | \ |
gunzip -c "$srcdir"/tools/$NCURSES.tar.gz | \ |
(cd "$srcdir/tools" && tar -xf -) |
(cd "$srcdir/tools" && tar -xf -) |
(cd "$srcdir/tools/"$NCURSES && \ |
(cd "$srcdir/tools/"$NCURSES && \ |
|
for i in ../$NCURSES*.sh.gz; |
|
do TMP=$i; gunzip -c $i > ${TMP%.*}; |
|
done; |
|
for i in ../$NCURSES*.sh; |
|
do chmod 775 $i && ./$i; |
|
done; |
for i in ../$NCURSES*.patch.gz; |
for i in ../$NCURSES*.patch.gz; |
do gunzip -c $i | patch -p1; |
do gunzip -c $i | patch -p1; |
done); |
done); |
Line 6138 if test ! -d "$srcdir"/tools/$SQLITE; th
|
Line 6457 if test ! -d "$srcdir"/tools/$SQLITE; th
|
gunzip -c "$srcdir"/tools/$SQLITE.tar.gz | \ |
gunzip -c "$srcdir"/tools/$SQLITE.tar.gz | \ |
(cd "$srcdir/tools" && tar -xf -) |
(cd "$srcdir/tools" && tar -xf -) |
fi |
fi |
|
if test ! -d "$srcdir"/tools/$SIGSEGV; then |
|
gunzip -c "$srcdir"/tools/$SIGSEGV.tar.gz | \ |
|
(cd "$srcdir/tools" && tar -xf -) |
|
fi |
|
if test ! -d "$srcdir"/tools/$OPENMOTIF; then |
|
gunzip -c "$srcdir"/tools/$OPENMOTIF.tar.gz | \ |
|
(cd "$srcdir/tools" && tar -xf -) |
|
fi |
|
if test ! -d "$srcdir"/tools/$LIBXPM; then |
|
gunzip -c "$srcdir"/tools/$LIBXPM.tar.gz | \ |
|
(cd "$srcdir/tools" && tar -xf -) |
|
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 | \ |
(cd tools && tar -xf -) |
(cd tools && tar -xf -) |
Line 6170 if test ! -d "$srcdir"/rplcas/$GIAC; the
|
Line 6501 if test ! -d "$srcdir"/rplcas/$GIAC; the
|
(cd "$srcdir/rplcas" && tar -xf -) |
(cd "$srcdir/rplcas" && tar -xf -) |
fi |
fi |
|
|
|
touch tools/openmotif.lib |
|
|
|
|
|
|
# Check whether --enable-final-run-path was given. |
# Check whether --enable-final-run-path was given. |
Line 6816 else
|
Line 7149 else
|
fi |
fi |
fi |
fi |
|
|
if test "$MOTIF_SUPPORT" = guessed; then |
|
CFLAGS_ORIG=$CFLAGS |
|
LIBS_ORIG=$LIBS |
|
CFLAGS="$CFLAGS $X_CFLAGS" |
|
LIBS="$LIB $X_LIBS" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXm" >&5 |
|
$as_echo_n "checking for main in -lXm... " >&6; } |
|
if test "${ac_cv_lib_Xm_main+set}" = set; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-lXm $LIBS" |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
|
|
int |
|
main () |
|
{ |
|
return main (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_link "$LINENO"; then : |
|
ac_cv_lib_Xm_main=yes |
|
else |
|
ac_cv_lib_Xm_main=no |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
LIBS=$ac_check_lib_save_LIBS |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_main" >&5 |
|
$as_echo "$ac_cv_lib_Xm_main" >&6; } |
|
if test "x$ac_cv_lib_Xm_main" = x""yes; then : |
|
MOTIF_SUPPORT="-DMOTIF_SUPPORT" |
|
else |
|
MOTIF_SUPPORT="-UMOTIF_SUPPORT" |
|
fi |
|
|
|
if test "$MOTIF_SUPPORT" = "-UMOTIF_SUPPORT"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find Motif! You may install it. |
|
Motif flag is disabled. |
|
" >&5 |
|
$as_echo "$as_me: WARNING: Cannot find Motif! You may install it. |
|
Motif flag is disabled. |
|
" >&2;} |
|
fi |
|
LIBS=$LIBS_ORIG |
|
CFLAGS=$CFLAGS_ORIG |
|
fi |
|
|
|
if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then |
|
CFLAGS_ORIG=$CFLAGS |
|
LIBS_ORIG=$LIBS |
|
CFLAGS="$CFLAGS $X_CFLAGS" |
|
LIBS="$LIB $X_LIBS" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXpm" >&5 |
|
$as_echo_n "checking for main in -lXpm... " >&6; } |
DATE=$(LANG=C date +"%A, %e %B %Y %T %z") |
if test "${ac_cv_lib_Xpm_main+set}" = set; then : |
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5 |
|
$as_echo_n "checking for main in -lm... " >&6; } |
|
if test "${ac_cv_lib_m_main+set}" = set; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-lXpm $LIBS" |
LIBS="-lm $LIBS" |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
|
|
Line 6894 return main ();
|
Line 7182 return main ();
|
} |
} |
_ACEOF |
_ACEOF |
if ac_fn_c_try_link "$LINENO"; then : |
if ac_fn_c_try_link "$LINENO"; then : |
ac_cv_lib_Xpm_main=yes |
ac_cv_lib_m_main=yes |
else |
else |
ac_cv_lib_Xpm_main=no |
ac_cv_lib_m_main=no |
fi |
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=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_main" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5 |
$as_echo "$ac_cv_lib_Xpm_main" >&6; } |
$as_echo "$ac_cv_lib_m_main" >&6; } |
if test "x$ac_cv_lib_Xpm_main" = x""yes; then : |
if test "x$ac_cv_lib_m_main" = x""yes; then : |
MOTIF_SUPPORT="-DMOTIF_SUPPORT" |
cat >>confdefs.h <<_ACEOF |
else |
#define HAVE_LIBM 1 |
MOTIF_SUPPORT="-UMOTIF_SUPPORT" |
_ACEOF |
fi |
|
|
LIBS="-lm $LIBS" |
|
|
if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPPORT"; then |
|
libX="$X_LIBS -lXm -lXpm -lXt -lX11" |
|
else |
|
libX="" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find libXpm! You may install it. |
|
Motif flag is disabled. |
|
" >&5 |
|
$as_echo "$as_me: WARNING: Cannot find libXpm! You may install it. |
|
Motif flag is disabled. |
|
" >&2;} |
|
fi |
|
LIBS=$LIBS_ORIG |
|
CFLAGS=$CFLAGS_ORIG |
|
else |
else |
libX="" |
as_fn_error $? "Can not find libm !" "$LINENO" 5 |
fi |
fi |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lc" >&5 |
|
$as_echo_n "checking for pthread_mutex_init in -lc... " >&6; } |
|
if test "${ac_cv_lib_c_pthread_mutex_init+set}" = set; then : |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DATE=$(LANG=C date +"%A, %e %B %Y %T %z") |
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5 |
|
$as_echo_n "checking for main in -lm... " >&6; } |
|
if test "${ac_cv_lib_m_main+set}" = set; then : |
|
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
else |
else |
ac_check_lib_save_LIBS=$LIBS |
ac_check_lib_save_LIBS=$LIBS |
LIBS="-lm $LIBS" |
LIBS="-lc $LIBS" |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
|
|
|
/* Override any GCC internal prototype to avoid an error. |
|
Use char because int might match the return type of a GCC |
|
builtin and then its argument prototype would still apply. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
char pthread_mutex_init (); |
int |
int |
main () |
main () |
{ |
{ |
return main (); |
return pthread_mutex_init (); |
; |
; |
return 0; |
return 0; |
} |
} |
_ACEOF |
_ACEOF |
if ac_fn_c_try_link "$LINENO"; then : |
if ac_fn_c_try_link "$LINENO"; then : |
ac_cv_lib_m_main=yes |
ac_cv_lib_c_pthread_mutex_init=yes |
else |
else |
ac_cv_lib_m_main=no |
ac_cv_lib_c_pthread_mutex_init=no |
fi |
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=$ac_check_lib_save_LIBS |
LIBS=$ac_check_lib_save_LIBS |
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_pthread_mutex_init" >&5 |
$as_echo "$ac_cv_lib_m_main" >&6; } |
$as_echo "$ac_cv_lib_c_pthread_mutex_init" >&6; } |
if test "x$ac_cv_lib_m_main" = x""yes; then : |
if test "x$ac_cv_lib_c_pthread_mutex_init" = x""yes; then : |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
#define HAVE_LIBM 1 |
#define HAVE_LIBC 1 |
_ACEOF |
_ACEOF |
|
|
LIBS="-lm $LIBS" |
LIBS="-lc $LIBS" |
|
|
else |
else |
as_fn_error $? "Can not find libm !" "$LINENO" 5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5 |
fi |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5 |
|
$as_echo_n "checking for main in -lpthread... " >&6; } |
$as_echo_n "checking for main in -lpthread... " >&6; } |
if test "${ac_cv_lib_pthread_main+set}" = set; then : |
if test "${ac_cv_lib_pthread_main+set}" = set; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
Line 7022 else
|
Line 7288 else
|
as_fn_error $? "Can not find libpthread !" "$LINENO" 5 |
as_fn_error $? "Can not find libpthread !" "$LINENO" 5 |
fi |
fi |
|
|
|
fi |
|
|
|
|
ac_fn_c_check_type "$LINENO" "union semun" "ac_cv_type_union_semun" " |
ac_fn_c_check_type "$LINENO" "union semun" "ac_cv_type_union_semun" " |
#include <sys/sem.h> |
#include <sys/sem.h> |
Line 7786 fi
|
Line 8054 fi
|
|
|
if test "x$with_bourne_shell" = xno; then |
if test "x$with_bourne_shell" = xno; then |
if test $(uname) = "OS/2"; then |
if test $(uname) = "OS/2"; then |
as_fn_error $? "With OS/2 or eComstation, you have to specify a valide shell path !" "$LINENO" 5 |
as_fn_error $? "With OS/2 or eComstation, you have to specify a valide |
|
shell path with --with-bourne-shell=PATH !" "$LINENO" 5 |
fi |
fi |
|
|
BSH_PATH= |
BSH_PATH= |
Line 8926 cat >>confdefs.h <<_ACEOF
|
Line 9195 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 9106 if test $(uname) = "OS/2"; then
|
Line 9335 if test $(uname) = "OS/2"; then
|
bash -c "cd tools/$OPENSSL && os2/OS2-EMX.cmd" |
bash -c "cd tools/$OPENSSL && os2/OS2-EMX.cmd" |
else |
else |
if test "x$with_openssl_arch" = xnone; then |
if test "x$with_openssl_arch" = xnone; then |
(cd tools/$OPENSSL && ./config) |
(cd tools/$OPENSSL && ./config no-asm) |
elif test "x$with_openssl_arch" = xyes -o "x$with_openssl_arch" = xno; then |
elif test "x$with_openssl_arch" = xyes -o "x$with_openssl_arch" = xno; then |
(cd tools/$OPENSSL && ./Configure) |
(cd tools/$OPENSSL && ./Configure) |
as_fn_error $? "OS/COMP informations are required!" "$LINENO" 5 |
as_fn_error $? "OS/COMP informations are required!" "$LINENO" 5 |
Line 9114 else
|
Line 9343 else
|
(cd tools/$OPENSSL && ./Configure) |
(cd tools/$OPENSSL && ./Configure) |
as_fn_error $? "Please specify OS and Architecture" "$LINENO" 5 |
as_fn_error $? "Please specify OS and Architecture" "$LINENO" 5 |
else |
else |
(cd tools/$OPENSSL && ./Configure $with_openssl_arch) |
(cd tools/$OPENSSL && ./Configure no-asm $with_openssl_arch) |
fi |
fi |
fi |
fi |
|
|
|
|
|
|
subdirs="$subdirs tools/$NCURSES" |
|
|
|
subdirs="$subdirs tools/$READLINE" |
|
|
|
subdirs="$subdirs tools/$GSL" |
|
|
|
subdirs="$subdirs tools/$GPP" |
|
|
|
subdirs="$subdirs tools/$FILE" |
|
|
|
subdirs="$subdirs tools/$ICONV" |
|
|
|
subdirs="$subdirs tools/$SQLITE" |
|
|
|
subdirs="$subdirs tools/$UNITS" |
|
|
|
|
|
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 | \ |
(cd "$srcdir/tools" && tar -xf -) |
(cd "$srcdir/tools" && tar -xf -) |
fi |
fi |
subdirs="$subdirs tools/$GNUPLOT" |
|
|
if test $RECURSIVE = yes; then |
|
subdirs="$subdirs tools/$GNUPLOT" |
|
|
|
fi |
|
|
GNUPLOT_COMPILATION=$GNUPLOT |
GNUPLOT_COMPILATION=$GNUPLOT |
else |
else |
Line 9151 fi
|
Line 9365 fi
|
|
|
|
|
|
|
case $host_cpu in |
HOST=$target |
|
|
i?86) |
|
CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \ |
|
-Wno-pointer-sign" |
|
FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c" |
|
FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c" |
|
break ;; |
|
|
|
x86_64*) |
my_save_cflags="$CFLAGS" |
CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \ |
FPCFLAGS="" |
-Wno-pointer-sign" |
|
FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c" |
|
FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c" |
|
break ;; |
|
|
|
alpha*) |
CFLAGS=-malign-double |
CFLAGS="$CFLAGS -mieee -funsigned-char -Wall \ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC supports -malign-double" >&5 |
-Wno-pointer-sign" |
$as_echo_n "checking whether CC supports -malign-double... " >&6; } |
FFLAGS="$FFLAGS -mieee -Wall" |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
FCFLAGS="$FCFLAGS -mieee -Wall" |
/* end confdefs.h. */ |
break ;; |
|
|
|
sparc*) |
int |
CFLAGS="$CFLAGS -Wall -funsigned-char \ |
main () |
-Wno-pointer-sign" |
{ |
FFLAGS="$FFLAGS -Wall" |
|
FCFLAGS="$FCFLAGS -Wall" |
|
break ;; |
|
|
|
esac |
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; }; FPCFLAGS="$FPCFLAGS -malign-double" |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
CFLAGS=-mieee-fp |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC supports -mieee-fp" >&5 |
|
$as_echo_n "checking whether CC supports -mieee-fp... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
case $host_os in |
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; }; FPCFLAGS="$FPCFLAGS -mieee-fp" |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
CFLAGS=-mieee |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC supports -mieee" >&5 |
|
$as_echo_n "checking whether CC supports -mieee... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; }; FPCFLAGS="$FPCFLAGS -mieee" |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
CFLAGS=$my_save_cflags |
|
|
|
CFLAGS="$CFLAGS $FPCFLAGS -Wall -funsigned-char -Wno-pointer-sign" |
|
FFLAGS="$FFLAGS $FPCFLAGS -Wall -fno-f2c" |
|
FCFLAGS="$FCFLAGS $FPCFLAGS -Wall -fno-f2c" |
|
CXXFLAGS="$CXXFLAGS $FPCFLAGS -Wall -funsigned-char" |
|
|
|
case $target_os in |
|
|
cygwin*) |
cygwin*) |
OS=Cygwin |
OS=Cygwin |
Line 9206 DATE=$(env LC_ALL=C date +'%A %x, %X %Z'
|
Line 9467 DATE=$(env LC_ALL=C date +'%A %x, %X %Z'
|
MALLOC= |
MALLOC= |
|
|
case $OS in |
case $OS in |
|
|
Darwin) |
Darwin) |
EXPORT_DYNAMIC=-Wl,-flat_namespace |
EXPORT_DYNAMIC=-Wl,-flat_namespace |
NESTED_FUNCTIONS=-fnested-functions |
NESTED_FUNCTIONS=-fnested-functions |
SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES |
|
IPCS_SYSV=-UIPCS_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 --enable-threads" |
--disable-shared --enable-static --enable-threads \ |
|
CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \ |
|
FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \ |
|
LDFLAGS=\"$LDFLAGS\"" |
C_STANDARD=-std=gnu99 |
C_STANDARD=-std=gnu99 |
|
ELF= |
break ;; |
break ;; |
|
|
Cygwin) |
Cygwin) |
EXPORT_DYNAMIC=-Wl,--export-all-symbols |
EXPORT_DYNAMIC=-Wl,--export-all-symbols |
NESTED_FUNCTIONS= |
NESTED_FUNCTIONS= |
SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES |
|
IPCS_SYSV=-UIPCS_SYSV |
|
ac_configure_args="$ac_configure_args --with-readline=builtin \ |
ac_configure_args="$ac_configure_args --with-readline=builtin \ |
--disable-shared --enable-static --enable-threads" |
--disable-shared --enable-static --enable-threads \ |
|
CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \ |
|
FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \ |
|
LDFLAGS=\"$LDFLAGS\"" |
C_STANDARD=-std=gnu99 |
C_STANDARD=-std=gnu99 |
|
ELF= |
break ;; |
break ;; |
|
|
Interix) |
Interix) |
EXPORT_DYNAMIC=-Wl,--export-all-symbols |
EXPORT_DYNAMIC=-Wl,--export-all-symbols |
NESTED_FUNCTIONS= |
NESTED_FUNCTIONS= |
SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES |
|
IPCS_SYSV=-UIPCS_SYSV |
|
ac_configure_args="$ac_configure_args --with-readline=builtin \ |
ac_configure_args="$ac_configure_args --with-readline=builtin \ |
--disable-shared --enable-static --enable-threads" |
--disable-shared --enable-static --enable-threads \ |
|
CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \ |
|
FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \ |
|
LDFLAGS=\"$LDFLAGS\"" |
C_STANDARD=-std=gnu99 |
C_STANDARD=-std=gnu99 |
|
ELF= |
break;; |
break;; |
|
|
AIX) |
AIX) |
EXPORT_DYNAMIC=-Wl,--export-dynamic |
EXPORT_DYNAMIC=-Wl,--export-dynamic |
NESTED_FUNCTIONS= |
NESTED_FUNCTIONS= |
SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES |
|
IPCS_SYSV=-UIPCS_SYSV |
|
ac_configure_args="$ac_configure_args --with-readline=builtin \ |
ac_configure_args="$ac_configure_args --with-readline=builtin \ |
--disable-shared --enable-static --enable-threads" |
--disable-shared --enable-static --enable-threads \ |
|
CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \ |
|
FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \ |
|
LDFLAGS=\"$LDFLAGS\"" |
C_STANDARD=-std=gnu99 |
C_STANDARD=-std=gnu99 |
|
ELF= |
break ;; |
break ;; |
|
|
OS/2) |
OS/2) |
Line 9255 case $OS in
|
Line 9523 case $OS in
|
OS=OS2 |
OS=OS2 |
NESTED_FUNCTIONS= |
NESTED_FUNCTIONS= |
EXPORT_DYNAMIC=-Zmap |
EXPORT_DYNAMIC=-Zmap |
SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES |
|
IPCS_SYSV=-DIPCS_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 \ |
--enable-threads" |
--enable-threads \ |
|
CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \ |
|
FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \ |
|
LDFLAGS=\"$LDFLAGS\"" |
C_STANDARD= |
C_STANDARD= |
|
ELF= |
break;; |
break;; |
|
|
OpenBSD) |
OpenBSD) |
Line 9269 case $OS in
|
Line 9539 case $OS in
|
fi; |
fi; |
EXPORT_DYNAMIC=-Wl,--export-dynamic |
EXPORT_DYNAMIC=-Wl,--export-dynamic |
NESTED_FUNCTIONS= |
NESTED_FUNCTIONS= |
SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES |
|
IPCS_SYSV=-DIPCS_SYSV |
|
ac_configure_args="$ac_configure_args --with-readline=builtin \ |
ac_configure_args="$ac_configure_args --with-readline=builtin \ |
--disable-shared --enable-static --enable-threads" |
--disable-shared --enable-static --enable-threads \ |
|
CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \ |
|
FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \ |
|
LDFLAGS=\"$LDFLAGS\"" |
C_STANDARD=-std=gnu99 |
C_STANDARD=-std=gnu99 |
|
ELF= |
break;; |
break;; |
|
|
SunOS) |
SunOS) |
EXPORT_DYNAMIC=-Wl,--export-dynamic |
EXPORT_DYNAMIC=-Wl,--export-dynamic |
NESTED_FUNCTIONS= |
NESTED_FUNCTIONS= |
SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES |
|
|
|
if test $IPCS_SYSV = no; then |
|
IPCS_SYSV=-UIPCS_SYSV |
|
else |
|
IPCS_SYSV=-DIPCS_SYSV |
|
fi |
|
|
|
ac_configure_args="$ac_configure_args --with-readline=builtin \ |
ac_configure_args="$ac_configure_args --with-readline=builtin \ |
--disable-shared --enable-static --enable-threads" |
--disable-shared --enable-static --enable-threads \ |
|
CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \ |
|
FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \ |
|
LDFLAGS=\"$LDFLAGS\"" |
C_STANDARD=-std=gnu99 |
C_STANDARD=-std=gnu99 |
MALLOC=-lumem |
MALLOC=-lumem |
|
ELF= |
break ;; |
break ;; |
|
|
*) |
NetBSD) |
EXPORT_DYNAMIC=-Wl,--export-dynamic |
EXPORT_DYNAMIC=-Wl,--export-dynamic |
NESTED_FUNCTIONS= |
NESTED_FUNCTIONS= |
SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES |
|
|
|
if test $IPCS_SYSV = no; then |
ac_configure_args="$ac_configure_args --with-readline=builtin \ |
IPCS_SYSV=-UIPCS_SYSV |
--disable-shared --enable-static --enable-threads \ |
else |
CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \ |
IPCS_SYSV=-DIPCS_SYSV |
FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \ |
fi |
LDFLAGS=\"$LDFLAGS\"" |
|
C_STANDARD=-std=gnu99 |
|
GCCBIN=`which gcc` |
|
GCCLIB=`dirname $GCCBIN`/../lib |
|
ELF="-Wl,-R/usr/pkg/lib -Wl,-R$GCCLIB" |
|
break ;; |
|
|
|
*) |
|
EXPORT_DYNAMIC=-Wl,--export-dynamic |
|
NESTED_FUNCTIONS= |
|
|
ac_configure_args="$ac_configure_args --with-readline=builtin \ |
ac_configure_args="$ac_configure_args --with-readline=builtin \ |
--disable-shared --enable-static --enable-threads" |
--disable-shared --enable-static --enable-threads \ |
|
CFLAGS=\"$CFLAGS\" CXXFLAGS=\"$CXXFLAGS\" \ |
|
FFLAGS=\"$FFLAGS\" FCFLAGS=\"$FCFLAGS\" \ |
|
LDFLAGS=\"$LDFLAGS\"" |
C_STANDARD=-std=gnu99 |
C_STANDARD=-std=gnu99 |
|
ELF= |
|
break ;; |
|
esac |
|
|
|
case $OS in |
|
OS2) |
|
WHOLE_LIB1="" |
|
WHOLE_LIB2="" |
|
LIB_PREFIX="" |
break ;; |
break ;; |
|
|
|
*) |
|
WHOLE_LIB1="-Wl,-whole-archive" |
|
WHOLE_LIB2="-Wl,-no-whole-archive" |
|
LIB_PREFIX="lib" |
|
break ;; |
|
esac |
|
|
|
case $HOST in |
|
x86_64-unknown-linux-gnu) |
|
ARCH=amd64 |
|
break ;; |
|
|
|
i?86-unknown-linux-gnu) |
|
ARCH=i386 |
|
break ;; |
|
|
|
*) |
|
ARCH=unknown |
|
break ;; |
esac |
esac |
|
|
|
|
Line 9348 esac
|
Line 9656 esac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if test $RECURSIVE = yes; then |
|
subdirs="$subdirs tools/$NCURSES" |
|
|
|
subdirs="$subdirs tools/$READLINE" |
|
|
|
subdirs="$subdirs tools/$GSL" |
|
|
|
subdirs="$subdirs tools/$GPP" |
|
|
|
subdirs="$subdirs tools/$FILE" |
|
|
|
subdirs="$subdirs tools/$ICONV" |
|
|
|
subdirs="$subdirs tools/$SQLITE" |
|
|
|
subdirs="$subdirs tools/$UNITS" |
|
|
|
subdirs="$subdirs tools/$SIGSEGV" |
|
|
|
fi |
|
|
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 9406 ac_config_files="$ac_config_files man/fr
|
Line 9747 ac_config_files="$ac_config_files man/fr
|
ac_config_files="$ac_config_files man/fr_FR/mkrplso.1" |
ac_config_files="$ac_config_files man/fr_FR/mkrplso.1" |
|
|
|
|
|
ac_config_files="$ac_config_files DEBIAN/control" |
|
|
|
|
cat >confcache <<\_ACEOF |
cat >confcache <<\_ACEOF |
# This file is a shell script that caches the results of configure |
# This file is a shell script that caches the results of configure |
# tests run on this system so they can be shared between configure |
# tests run on this system so they can be shared between configure |
Line 9932 cat >>$CONFIG_STATUS <<\_ACEOF || ac_wri
|
Line 10276 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.1.0.prerelease.0, which was |
This file was extended by rpl $as_me 4.1.6, which was |
generated by GNU Autoconf 2.67. Invocation command line was |
generated by GNU Autoconf 2.67. Invocation command line was |
|
|
CONFIG_FILES = $CONFIG_FILES |
CONFIG_FILES = $CONFIG_FILES |
Line 9998 _ACEOF
|
Line 10342 _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.1.0.prerelease.0 |
rpl config.status 4.1.6 |
configured by $0, generated by GNU Autoconf 2.67, |
configured by $0, generated by GNU Autoconf 2.67, |
with options \\"\$ac_cs_config\\" |
with options \\"\$ac_cs_config\\" |
|
|
Line 10157 do
|
Line 10501 do
|
"man/fr_FR/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpllink.1" ;; |
"man/fr_FR/rpllink.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpllink.1" ;; |
"man/fr_FR/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpltags.1" ;; |
"man/fr_FR/rpltags.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/rpltags.1" ;; |
"man/fr_FR/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/mkrplso.1" ;; |
"man/fr_FR/mkrplso.1") CONFIG_FILES="$CONFIG_FILES man/fr_FR/mkrplso.1" ;; |
|
"DEBIAN/control") CONFIG_FILES="$CONFIG_FILES DEBIAN/control" ;; |
|
|
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; |
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; |
esac |
esac |