From c5171b1bac474eb90f7a78247864eb3696022f7c Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Mon, 4 Feb 2002 16:32:52 +0000 Subject: [PATCH] r1366: *** empty log message *** --- config.h.in | 2 -- configure | 29 ++++++++++++++++------------- configure.in | 4 ++-- 3 files changed, 18 insertions(+), 17 deletions(-) diff --git a/config.h.in b/config.h.in index 257f9f6..1a6d7b5 100644 --- a/config.h.in +++ b/config.h.in @@ -67,8 +67,6 @@ #undef HAVE_READLINE -#undef HAVE_G2 - #undef HAVE_CURSES #undef HAVE_NCURSES diff --git a/configure b/configure index 185a2e9..b12e3a6 100755 --- a/configure +++ b/configure @@ -2090,14 +2090,14 @@ curses=false fi wxwin=false -echo $ac_n "checking for main in -lwx_gtk""... $ac_c" 1>&6 -echo "configure:2095: checking for main in -lwx_gtk" >&5 -ac_lib_var=`echo wx_gtk'_'main | sed 'y%./+-%__p_%'` +echo $ac_n "checking for main in -lwx_gtk-2.2""... $ac_c" 1>&6 +echo "configure:2095: checking for main in -lwx_gtk-2.2" >&5 +ac_lib_var=`echo wx_gtk-2.2'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" -LIBS="-lwx_gtk $LIBS" +LIBS="-lwx_gtk-2.2 $LIBS" cat > conftest.$ac_ext <&6 ctlib_graphics="$ctlib_graphics $X_BASIC_LIBS $X_TOOLKIT_LIBS" if test "$libgl" = "true" ; then - ctlib_graphics="$ctlib_graphics -lwx_gtk_gl -lglut -lGL -lGLU" + ctlib_graphics="$ctlib_graphics -lglut -lGL -lGLU" + if test "$wxwin" = "true" ; then + ctlib_graphics="$ctlib_graphics -lwx_gtk_gl-2.2" + fi fi if test "$wxwin" = "true" ; then cat >> confdefs.h <<\EOF @@ -4646,7 +4649,7 @@ if test "$ctn" = "true"; then fi echo $ac_n "checking for main in -ldmallocxx""... $ac_c" 1>&6 -echo "configure:4650: checking for main in -ldmallocxx" >&5 +echo "configure:4653: checking for main in -ldmallocxx" >&5 ac_lib_var=`echo dmallocxx'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -4654,14 +4657,14 @@ else ac_save_LIBS="$LIBS" LIBS="-ldmallocxx $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4683,7 +4686,7 @@ dmallocxx=false fi echo $ac_n "checking for enable-dmalloc""... $ac_c" 1>&6 -echo "configure:4687: checking for enable-dmalloc" >&5 +echo "configure:4690: checking for enable-dmalloc" >&5 # Check whether --enable-dmalloc or --disable-dmalloc was given. if test "${enable_dmalloc+set}" = set; then enableval="$enable_dmalloc" @@ -4712,7 +4715,7 @@ EOF fi echo $ac_n "checking for main in -lefence""... $ac_c" 1>&6 -echo "configure:4716: checking for main in -lefence" >&5 +echo "configure:4719: checking for main in -lefence" >&5 ac_lib_var=`echo efence'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -4720,14 +4723,14 @@ else ac_save_LIBS="$LIBS" LIBS="-lefence $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4749,7 +4752,7 @@ efence=false fi echo $ac_n "checking for enable-efence""... $ac_c" 1>&6 -echo "configure:4753: checking for enable-efence" >&5 +echo "configure:4756: checking for enable-efence" >&5 # Check whether --enable-efence or --disable-efence was given. if test "${enable_efence+set}" = set; then enableval="$enable_efence" diff --git a/configure.in b/configure.in index 21ca5b9..ecd8610 100644 --- a/configure.in +++ b/configure.in @@ -43,7 +43,7 @@ AC_CHECK_LIB(readline, main, [readline=true; AC_DEFINE(HAVE_READLINE)], [readlin AC_CHECK_LIB(ncurses, main, [ncurses=true; AC_DEFINE(HAVE_NCURSES)], [ncurses=false]) AC_CHECK_LIB(curses, main, [curses=true; AC_DEFINE(HAVE_CURSES)], [curses=false]) wxwin=false -AC_CHECK_LIB(wx_gtk, main, [wxwin=true; wx_gtk=true; AC_DEFINE(HAVE_WXWINDOWS)]) +AC_CHECK_LIB(wx_gtk-2.2, main, [wxwin=true; wx_gtk=true; AC_DEFINE(HAVE_WXWINDOWS)]) AC_CHECK_LIB(wx, main, [wxwin=true; wx_msw=true; AC_DEFINE(HAVE_WXWINDOWS)]) AC_CHECK_LIB(hdf5, main, [hdf5=true], [hdf5=false], -lz) AC_CHECK_LIB(fftw, fftw_one, [fftw=true; AC_DEFINE(HAVE_FFTW)], [fftw=false]) @@ -352,7 +352,7 @@ if test "$no_x" != "yes" ; then if test "$libgl" = "true" ; then ctlib_graphics="$ctlib_graphics -lglut -lGL -lGLU" if test "$wxwin" = "true" ; then - ctlib_graphics="$ctlib_graphics -lwx_gtk_gl" + ctlib_graphics="$ctlib_graphics -lwx_gtk_gl-2.2" fi fi if test "$wxwin" = "true" ; then -- 2.34.1