version 1.30, 2010/07/31 10:34:15
|
version 1.33, 2010/08/09 13:52:12
|
Line 610 GSL
|
Line 610 GSL
|
UNITS |
UNITS |
READLINE |
READLINE |
NCURSES |
NCURSES |
|
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 1845 $as_echo "$ac_res" >&6; }
|
Line 1848 $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 2182 fi
|
Line 2239 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. |
Line 3211 GPP=gpp-2.24
|
Line 3214 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.7.0 |
SQLITE=sqlite-3.7.0.1 |
OPENSSL=openssl-1.0.0a |
OPENSSL=openssl-1.0.0a |
|
|
ac_ext=c |
ac_ext=c |
Line 6066 fi
|
Line 6069 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 6083 fi
|
Line 6092 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 6902 else
|
Line 6912 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 |
|
|
|
|
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 8885 fi
|
Line 8906 fi
|
done |
done |
|
|
|
|
ac_configure_args="$ac_configure_args --with-readline=builtin --disable-shared --enable-static" |
|
|
|
|
|
|
|
subdirs="$subdirs tools/$NCURSES" |
subdirs="$subdirs tools/$NCURSES" |
Line 8915 else
|
Line 8934 else
|
fi |
fi |
|
|
|
|
if test "x$with_openssl_arch" = xnone; then |
if test $(uname) = "OS/2"; then |
(cd tools/$OPENSSL && ./config) |
(cd tools/$OPENSSL && os2/OS2-EMX.cmd) |
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 |
else |
(cd tools/$OPENSSL && ./Configure $with_openssl_arch) |
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 |
fi |
|
|
if test "$MYGNUPLOT" = "yes"; then |
if test "$MYGNUPLOT" = "yes"; then |
Line 8997 DATE=$(env LC_ALL=C date +'%A %x, %X %Z'
|
Line 9020 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) |
AIX) |
EXPORT_DYNAMIC=--export-dynamic |
EXPORT_DYNAMIC=-Wl,--export-dynamic |
NESTED_FUNCTIONS= |
NESTED_FUNCTIONS= |
SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES |
SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES |
|
SEMAPHORES_SYSV=-USEMAPHORES_SYSV |
|
ac_configure_args="$ac_configure_args --with-readline=builtin \ |
|
--disable-shared --enable-static" |
|
C_STANDARD=-std=gnu99 |
break ;; |
break ;; |
|
|
|
OS/2) |
|
MALLOC= |
|
OS=OS2 |
|
FINAL_ENCODING=UTF-8 |
|
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;; |
|
|
*) |
*) |
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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|