version 1.31, 2010/08/06 15:27:40
|
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 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 6903 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 9003 case $OS in
|
Line 9023 case $OS in
|
EXPORT_DYNAMIC=-Wl,-flat_namespace |
EXPORT_DYNAMIC=-Wl,-flat_namespace |
NESTED_FUNCTIONS=-fnested-functions |
NESTED_FUNCTIONS=-fnested-functions |
SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES |
SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES |
|
SEMAPHORES_SYSV=-USEMAPHORES_SYSV |
CXXFLAGS="$CXXFLAGS -D_GLIBCXX_FULLY_DYNAMIC_STRING" |
CXXFLAGS="$CXXFLAGS -D_GLIBCXX_FULLY_DYNAMIC_STRING" |
ac_configure_args="$ac_configure_args --with-readline=builtin \ |
ac_configure_args="$ac_configure_args --with-readline=builtin \ |
--disable-shared --enable-static" |
--disable-shared --enable-static" |
|
C_STANDARD=-std=gnu99 |
break ;; |
break ;; |
|
|
Cygwin) |
Cygwin) |
EXPORT_DYNAMIC=-Wl,--export-all-symbols |
EXPORT_DYNAMIC=-Wl,--export-all-symbols |
NESTED_FUNCTIONS= |
NESTED_FUNCTIONS= |
SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES |
SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES |
|
SEMAPHORES_SYSV=-USEMAPHORES_SYSV |
ac_configure_args="$ac_configure_args --with-readline=builtin \ |
ac_configure_args="$ac_configure_args --with-readline=builtin \ |
--disable-shared --enable-static" |
--disable-shared --enable-static" |
|
C_STANDARD=-std=gnu99 |
break ;; |
break ;; |
|
|
AIX) |
AIX) |
EXPORT_DYNAMIC=-Wl,--export-dynamic |
EXPORT_DYNAMIC=-Wl,--export-dynamic |
NESTED_FUNCTIONS= |
NESTED_FUNCTIONS= |
SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES |
SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES |
|
SEMAPHORES_SYSV=-USEMAPHORES_SYSV |
ac_configure_args="$ac_configure_args --with-readline=builtin \ |
ac_configure_args="$ac_configure_args --with-readline=builtin \ |
--disable-shared --enable-static" |
--disable-shared --enable-static" |
|
C_STANDARD=-std=gnu99 |
break ;; |
break ;; |
|
|
OS/2) |
OS/2) |
Line 9031 case $OS in
|
Line 9057 case $OS in
|
NESTED_FUNCTIONS= |
NESTED_FUNCTIONS= |
EXPORT_DYNAMIC=-Zmap |
EXPORT_DYNAMIC=-Zmap |
SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES |
SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES |
|
SEMAPHORES_SYSV=-DSEMAPHORES_SYSV |
ac_configure_args="$ac_configure_args --without-readline \ |
ac_configure_args="$ac_configure_args --without-readline \ |
--without-cairo --disable-shared --enable-static" |
--without-cairo --disable-shared --enable-static" |
|
C_STANDARD= |
break;; |
break;; |
|
|
*) |
*) |
EXPORT_DYNAMIC=-Wl,--export-dynamic |
EXPORT_DYNAMIC=-Wl,--export-dynamic |
NESTED_FUNCTIONS= |
NESTED_FUNCTIONS= |
SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES |
SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES |
|
SEMAPHORES_SYSV=-USEMAPHORES_SYSV |
ac_configure_args="$ac_configure_args --with-readline=builtin \ |
ac_configure_args="$ac_configure_args --with-readline=builtin \ |
--disable-shared --enable-static" |
--disable-shared --enable-static" |
|
C_STANDARD=-std=gnu99 |
break ;; |
break ;; |
|
|
esac |
esac |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|