version 1.86, 2011/09/26 15:57:34
|
version 1.88, 2011/10/03 15:57:51
|
Line 676 subdirs
|
Line 676 subdirs
|
LIBRPLCAS |
LIBRPLCAS |
RPLCAS |
RPLCAS |
ABI |
ABI |
|
RPLTOOLS |
X_EXTRA_LIBS |
X_EXTRA_LIBS |
X_LIBS |
X_LIBS |
X_PRE_LIBS |
X_PRE_LIBS |
Line 790 enable_dependency_tracking
|
Line 791 enable_dependency_tracking
|
with_x |
with_x |
with_32bits_abi |
with_32bits_abi |
with_64bits_abi |
with_64bits_abi |
with_rplcas |
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 1464 Optional Features:
|
Line 1466 Optional Features:
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
--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-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=guessed] |
--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] |
Line 1484 Optional Packages:
|
Line 1487 Optional Packages:
|
--with-x use the X Window System |
--with-x use the X Window System |
--with-32bits-abi force 32bits ABI (multilib) |
--with-32bits-abi force 32bits ABI (multilib) |
--with-64bits-abi force 64bits ABI (multilib) |
--with-64bits-abi force 64bits ABI (multilib) |
--with-rplcas compile rplcas (default=no) |
--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 3262 GPP=gpp-3.0
|
Line 3265 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.7.1 |
SQLITE=sqlite-3.7.8 |
OPENSSL=openssl-1.0.0e |
OPENSSL=openssl-1.0.0e |
OPENMOTIF=openmotif-2.3.3 |
OPENMOTIF=openmotif-2.3.3 |
LIBXPM=libXpm-3.5.9 |
LIBXPM=libXpm-3.5.9 |
Line 4602 fi
|
Line 4605 fi
|
|
|
|
|
|
|
if test "$CXX" != "g++"; then |
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 |
|
|
Line 4838 ac_link='$CC -o conftest$ac_exeext $CFLA
|
Line 4841 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 5049 ac_link='$CC -o conftest$ac_exeext $CFLA
|
Line 5048 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 5947 fi
|
Line 5950 fi
|
LDFLAGS="$LDFLAGS $ABI" |
LDFLAGS="$LDFLAGS $ABI" |
|
|
|
|
# Check whether --with-rplcas was given. |
# Check whether --with-rpltools was given. |
if test "${with_rplcas+set}" = set; then : |
if test "${with_rpltools+set}" = set; then : |
withval=$with_rplcas; |
withval=$with_rpltools; |
if test "$with-rplcas" = "no"; then |
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 |
RPLCAS=-URPLCAS |
LIBRPLCAS= |
LIBRPLCAS= |
else |
else |
Line 5995 else
|
Line 6016 else
|
fi |
fi |
|
|
|
|
# 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 |
REG=$LDFLAGS |
REG=$LDFLAGS |
|
POSIX_IPCS=guessed |
LDFLAGS=-lrt |
LDFLAGS=-lrt |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX semaphores and shared objects" >&5 |
{ $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; } |
$as_echo_n "checking for POSIX semaphores and shared objects... " >&6; } |
Line 6053 LDFLAGS=$REG
|
Line 6077 LDFLAGS=$REG
|
fi |
fi |
|
|
|
|
if test "$IPCS_SYSV" = "-UIPCS_SYSV"; then |
if test "$IPCS_SYSV" = "-UIPCS_SYSV" -a "$POSIX_IPCS" = "guessed"; then |
REG=$LDFLAGS |
REG=$LDFLAGS |
LDFLAGS=-pthread |
LDFLAGS=-pthread |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX anonymous semaphores" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX anonymous semaphores" >&5 |
Line 7064 else
|
Line 7088 else
|
as_fn_error $? "Can not find libm !" "$LINENO" 5 |
as_fn_error $? "Can not find libm !" "$LINENO" 5 |
fi |
fi |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5 |
{ $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 ${ac_cv_lib_c_pthread_mutex_init+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-lc $LIBS" |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* 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 |
|
main () |
|
{ |
|
return pthread_mutex_init (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_link "$LINENO"; then : |
|
ac_cv_lib_c_pthread_mutex_init=yes |
|
else |
|
ac_cv_lib_c_pthread_mutex_init=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_c_pthread_mutex_init" >&5 |
|
$as_echo "$ac_cv_lib_c_pthread_mutex_init" >&6; } |
|
if test "x$ac_cv_lib_c_pthread_mutex_init" = xyes; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_LIBC 1 |
|
_ACEOF |
|
|
|
LIBS="-lc $LIBS" |
|
|
|
else |
|
{ $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 ${ac_cv_lib_pthread_main+:} false; then : |
if ${ac_cv_lib_pthread_main+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
Line 7105 else
|
Line 7173 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 9176 fi
|
Line 9246 fi
|
|
|
|
|
|
|
HOST=$host |
HOST=$target |
|
|
|
|
|
my_save_cflags="$CFLAGS" |
|
FPCFLAGS="" |
|
|
|
CFLAGS=-malign-double |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC supports -malign-double" >&5 |
|
$as_echo_n "checking whether CC supports -malign-double... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
case $host_cpu in |
int |
|
main () |
|
{ |
|
|
i?86) |
; |
CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \ |
return 0; |
-Wno-pointer-sign" |
} |
FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c" |
_ACEOF |
FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c" |
if ac_fn_c_try_compile "$LINENO"; then : |
break ;; |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; }; FPCFLAGS="$FPCFLAGS -malign-double" |
x86_64*) |
else |
CFLAGS="$CFLAGS -malign-double -mieee-fp -Wall -funsigned-char \ |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
-Wno-pointer-sign" |
$as_echo "no" >&6; } |
FFLAGS="$FFLAGS -malign-double -mieee-fp -Wall -fno-f2c" |
fi |
FCFLAGS="$FCFLAGS -malign-double -mieee-fp -Wall -fno-f2c" |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
break ;; |
CFLAGS=-mieee-fp |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CC supports -mieee-fp" >&5 |
alpha*) |
$as_echo_n "checking whether CC supports -mieee-fp... " >&6; } |
CFLAGS="$CFLAGS -mieee -funsigned-char -Wall \ |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
-Wno-pointer-sign" |
/* end confdefs.h. */ |
FFLAGS="$FFLAGS -mieee -Wall" |
|
FCFLAGS="$FCFLAGS -mieee -Wall" |
|
break ;; |
|
|
|
sparc*) |
|
CFLAGS="$CFLAGS -Wall -funsigned-char \ |
|
-Wno-pointer-sign" |
|
FFLAGS="$FFLAGS -Wall" |
|
FCFLAGS="$FCFLAGS -Wall" |
|
break ;; |
|
|
|
esac |
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 $host_os in |
case $target_os in |
|
|
cygwin*) |
cygwin*) |
OS=Cygwin |
OS=Cygwin |