projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r7942: add test for getenv
[ctsim.git]
/
configure
diff --git
a/configure
b/configure
index fc903ac365fc309e98482658ae1dc2b4287aa8c4..c977cf2d4f035641a2167fad4f9d7cf87e6af306 100755
(executable)
--- a/
configure
+++ b/
configure
@@
-308,7
+308,7
@@
ac_includes_default="\
# include <unistd.h>
#endif"
# include <unistd.h>
#endif"
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot RANLIB ac_ct_RANLIB CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE wxconfig build build_cpu build_vendor build_os host host_cpu host_vendor host_os CPP EGREP INCLUDED_GETOPT_LONG_TRUE INCLUDED_GETOPT_LONG_FALSE DEBUG_TRUE DEBUG_FALSE lamdir mpienable cgibindir cgibinurl webdatadir webdataurl htmldir cgiprograms htmldata USE_HTML_TRUE USE_HTML_FALSE webenabled USE_LAM_TRUE USE_LAM_FALSE X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS X_TOOLKIT_LIBS X_BASIC_LIBS NO_X_TRUE NO_X_FALSE my_includes HAVE_SGP_TRUE HAVE_SGP_FALSE
HAVE_WXWINDOWS_TRUE HAVE_WXWINDOWS_FALSE wxcflags wxlibs
ctlibs lamprograms lamdefs LIBOBJS LTLIBOBJS'
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot RANLIB ac_ct_RANLIB CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE wxconfig build build_cpu build_vendor build_os host host_cpu host_vendor host_os CPP EGREP INCLUDED_GETOPT_LONG_TRUE INCLUDED_GETOPT_LONG_FALSE DEBUG_TRUE DEBUG_FALSE lamdir mpienable cgibindir cgibinurl webdatadir webdataurl htmldir cgiprograms htmldata USE_HTML_TRUE USE_HTML_FALSE webenabled USE_LAM_TRUE USE_LAM_FALSE X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS X_TOOLKIT_LIBS X_BASIC_LIBS NO_X_TRUE NO_X_FALSE my_includes HAVE_SGP_TRUE HAVE_SGP_FALSE
wxcflags wxlibs HAVE_WXWINDOWS_TRUE HAVE_WXWINDOWS_FALSE
ctlibs lamprograms lamdefs LIBOBJS LTLIBOBJS'
ac_subst_files=''
# Initialize some variables set by options.
ac_subst_files=''
# Initialize some variables set by options.
@@
-1600,7
+1600,7
@@
fi
# Define the identity of the package.
PACKAGE=ctsim
# Define the identity of the package.
PACKAGE=ctsim
- VERSION=4.
2.6
+ VERSION=4.
3.0
cat >>confdefs.h <<_ACEOF
cat >>confdefs.h <<_ACEOF
@@
-6454,13
+6454,13
@@
_ACEOF
fi
fi
-echo "$as_me:$LINENO: checking for fftw_
one in -lfftw
" >&5
-echo $ECHO_N "checking for fftw_
one in -lfftw
... $ECHO_C" >&6
-if test "${ac_cv_lib_fftw
_fftw_one
+set}" = set; then
+echo "$as_me:$LINENO: checking for fftw_
malloc in -lfftw3
" >&5
+echo $ECHO_N "checking for fftw_
malloc in -lfftw3
... $ECHO_C" >&6
+if test "${ac_cv_lib_fftw
3_fftw_malloc
+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lfftw $LIBS"
+LIBS="-lfftw
3
$LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h. */
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h. */
@@
-6475,11
+6475,11
@@
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
-char fftw_
one
();
+char fftw_
malloc
();
int
main ()
{
int
main ()
{
-fftw_
one
();
+fftw_
malloc
();
;
return 0;
}
;
return 0;
}
@@
-6496,19
+6496,19
@@
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- ac_cv_lib_fftw
_fftw_one
=yes
+ ac_cv_lib_fftw
3_fftw_malloc
=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
-ac_cv_lib_fftw
_fftw_one
=no
+ac_cv_lib_fftw
3_fftw_malloc
=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-echo "$as_me:$LINENO: result: $ac_cv_lib_fftw
_fftw_one
" >&5
-echo "${ECHO_T}$ac_cv_lib_fftw
_fftw_one
" >&6
-if test $ac_cv_lib_fftw
_fftw_one
= yes; then
+echo "$as_me:$LINENO: result: $ac_cv_lib_fftw
3_fftw_malloc
" >&5
+echo "${ECHO_T}$ac_cv_lib_fftw
3_fftw_malloc
" >&6
+if test $ac_cv_lib_fftw
3_fftw_malloc
= yes; then
fftw=true;
cat >>confdefs.h <<\_ACEOF
#define HAVE_FFTW 1
fftw=true;
cat >>confdefs.h <<\_ACEOF
#define HAVE_FFTW 1
@@
-6524,7
+6524,7
@@
if test "${ac_cv_lib_GL_main+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lGL -L/usr/X11R6/lib -lXt -lXext $LIBS"
+LIBS="-lGL -L/usr/X11R6/lib -
L/usr/X11R6/lib64 -
lXt -lXext $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h. */
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h. */
@@
-7453,7
+7453,13
@@
done
-for ac_func in strtod strtol snprintf htonl usleep vsprintf vsnprintf
+
+
+
+
+
+
+for ac_func in strtod strtol snprintf htonl usleep vsprintf vsnprintf basename setjmp setpriority time gettimeofday getenv
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
@@
-8076,7
+8082,7
@@
_ACEOF
fi
fi
-if test
$GETOPTLONG==1
; then
+if test
"$GETOPTLONG"="1"
; then
INCLUDED_GETOPT_LONG_TRUE=
INCLUDED_GETOPT_LONG_FALSE='#'
else
INCLUDED_GETOPT_LONG_TRUE=
INCLUDED_GETOPT_LONG_FALSE='#'
else
@@
-9718,7
+9724,7
@@
cat >>confdefs.h <<\_ACEOF
#define HAVE_X11 1
_ACEOF
#define HAVE_X11 1
_ACEOF
- LDFLAGS="$LDFLAGS -L../libctgraphics -L/usr/X11R6/lib"
+ LDFLAGS="$LDFLAGS -L../libctgraphics -L/usr/X11R6/lib
-L/usr/X11R6/lib64
"
my_includes="$my_includes -I/usr/X11R6/include"
ctlib_graphics="$ctlibs_base -lctgraphics"
echo "$as_me:$LINENO: result: yes" >&5
my_includes="$my_includes -I/usr/X11R6/include"
ctlib_graphics="$ctlibs_base -lctgraphics"
echo "$as_me:$LINENO: result: yes" >&5
@@
-9741,9
+9747,15
@@
cat >>confdefs.h <<\_ACEOF
#define HAVE_SGP 1
_ACEOF
#define HAVE_SGP 1
_ACEOF
+ fi
+else
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
-if test
1==1
; then
+if test
"$wxwin" = "true"
; then
HAVE_SGP_TRUE=
HAVE_SGP_FALSE='#'
else
HAVE_SGP_TRUE=
HAVE_SGP_FALSE='#'
else
@@
-9751,11
+9763,6
@@
else
HAVE_SGP_FALSE=
fi
HAVE_SGP_FALSE=
fi
- fi
-else
- echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6
-fi
if test "$png" = "true" ; then
ctlibs_tools="$ctlibs_tools -lpng"
if test "$png" = "true" ; then
ctlibs_tools="$ctlibs_tools -lpng"
@@
-9764,7
+9771,7
@@
if test "$zlib" = "true" ; then
ctlibs_tools="$ctlibs_tools -lz"
fi
if test "$fftw" = "true" ; then
ctlibs_tools="$ctlibs_tools -lz"
fi
if test "$fftw" = "true" ; then
- ctlibs_tools="$ctlibs_tools -l
rfftw -lfftw
"
+ ctlibs_tools="$ctlibs_tools -l
fftw3
"
fi
if test "$ctn" = "true"; then
ctlibs_tools="$ctlibs_tools -lctn"
fi
if test "$ctn" = "true"; then
ctlibs_tools="$ctlibs_tools -lctn"
@@
-9956,9
+9963,12
@@
if test "$wxwin" = "true" ; then
fi
CFLAGS="$CFLAGS -I../include $wxcflags"
ctlib_graphics="$ctlib_graphics $wxlibs"
fi
CFLAGS="$CFLAGS -I../include $wxcflags"
ctlib_graphics="$ctlib_graphics $wxlibs"
+fi
-if test 1==1 ; then
+
+
+if test "$wxwin"="true"; then
HAVE_WXWINDOWS_TRUE=
HAVE_WXWINDOWS_FALSE='#'
else
HAVE_WXWINDOWS_TRUE=
HAVE_WXWINDOWS_FALSE='#'
else
@@
-9966,9
+9976,6
@@
else
HAVE_WXWINDOWS_FALSE=
fi
HAVE_WXWINDOWS_FALSE=
fi
-fi
-
-
LDFLAGS="$LDFLAGS -L../libctsupport -L../libctsim"
ctlibs="$ctlibs_base -lctsim $ctlib_graphics -lctsupport $ctlibs_tools"
LDFLAGS="$LDFLAGS -L../libctsupport -L../libctsim"
ctlibs="$ctlibs_base -lctsim $ctlib_graphics -lctsupport $ctlibs_tools"
@@
-10787,10
+10794,10
@@
s,@NO_X_FALSE@,$NO_X_FALSE,;t t
s,@my_includes@,$my_includes,;t t
s,@HAVE_SGP_TRUE@,$HAVE_SGP_TRUE,;t t
s,@HAVE_SGP_FALSE@,$HAVE_SGP_FALSE,;t t
s,@my_includes@,$my_includes,;t t
s,@HAVE_SGP_TRUE@,$HAVE_SGP_TRUE,;t t
s,@HAVE_SGP_FALSE@,$HAVE_SGP_FALSE,;t t
-s,@HAVE_WXWINDOWS_TRUE@,$HAVE_WXWINDOWS_TRUE,;t t
-s,@HAVE_WXWINDOWS_FALSE@,$HAVE_WXWINDOWS_FALSE,;t t
s,@wxcflags@,$wxcflags,;t t
s,@wxlibs@,$wxlibs,;t t
s,@wxcflags@,$wxcflags,;t t
s,@wxlibs@,$wxlibs,;t t
+s,@HAVE_WXWINDOWS_TRUE@,$HAVE_WXWINDOWS_TRUE,;t t
+s,@HAVE_WXWINDOWS_FALSE@,$HAVE_WXWINDOWS_FALSE,;t t
s,@ctlibs@,$ctlibs,;t t
s,@lamprograms@,$lamprograms,;t t
s,@lamdefs@,$lamdefs,;t t
s,@ctlibs@,$ctlibs,;t t
s,@lamprograms@,$lamprograms,;t t
s,@lamdefs@,$lamdefs,;t t