]> git.jsancho.org Git - gacela.git/blobdiff - configure
Drawing Guybrush
[gacela.git] / configure
index 1334f49ab9c7e43b410b28a6a842068960d65618..281fd29c93033241cb3342dfd62a6962e9faccf9 100755 (executable)
--- a/configure
+++ b/configure
@@ -616,6 +616,8 @@ ac_subst_vars='am__EXEEXT_FALSE
 am__EXEEXT_TRUE
 LTLIBOBJS
 LIBOBJS
+FTGL_LIBS
+GL_LIBS
 SDL_LIBS
 GUILE_LDFLAGS
 GUILE_CFLAGS
@@ -648,6 +650,7 @@ SED
 am__fastdepCC_FALSE
 am__fastdepCC_TRUE
 CCDEPMODE
+am__nodep
 AMDEPBACKSLASH
 AMDEP_FALSE
 AMDEP_TRUE
@@ -2818,6 +2821,7 @@ fi
 if test "x$enable_dependency_tracking" != xno; then
   am_depcomp="$ac_aux_dir/depcomp"
   AMDEPBACKSLASH='\'
+  am__nodep='_no'
 fi
  if test "x$enable_dependency_tracking" != xno; then
   AMDEP_TRUE=
@@ -3631,6 +3635,7 @@ else
   # instance it was reported that on HP-UX the gcc test will end up
   # making a dummy file named `D' -- because `-MD' means `put the output
   # in D'.
+  rm -rf conftest.dir
   mkdir conftest.dir
   # Copy depcomp to subdir because otherwise we won't find it if we're
   # using a relative directory.
@@ -3690,7 +3695,7 @@ else
        break
       fi
       ;;
-    msvisualcpp | msvcmsys)
+    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
       # This compiler won't grok `-c -o', but also, the minuso test has
       # not run yet.  These depmodes are late enough in the game, and
       # so weak that their functioning should not be impacted.
@@ -11731,6 +11736,7 @@ else
   # instance it was reported that on HP-UX the gcc test will end up
   # making a dummy file named `D' -- because `-MD' means `put the output
   # in D'.
+  rm -rf conftest.dir
   mkdir conftest.dir
   # Copy depcomp to subdir because otherwise we won't find it if we're
   # using a relative directory.
@@ -11790,7 +11796,7 @@ else
        break
       fi
       ;;
-    msvisualcpp | msvcmsys)
+    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
       # This compiler won't grok `-c -o', but also, the minuso test has
       # not run yet.  These depmodes are late enough in the game, and
       # so weak that their functioning should not be impacted.
@@ -12328,8 +12334,9 @@ $as_echo "$GUILE_LDFLAGS" >&6; }
 
 
 
+
 for lib in SDL SDL_image SDL_gfx SDL_mixer ; do
-    as_ac_Lib=`$as_echo "ac_cv_lib_${lib}''_main" | $as_tr_sh`
+       as_ac_Lib=`$as_echo "ac_cv_lib_${lib}''_main" | $as_tr_sh`
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l${lib}" >&5
 $as_echo_n "checking for main in -l${lib}... " >&6; }
 if eval \${$as_ac_Lib+:} false; then :
@@ -12362,15 +12369,16 @@ eval ac_res=\$$as_ac_Lib
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 $as_echo "$ac_res" >&6; }
 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
-  SDL_LIBS="-l${lib} $SDL_LIBS"
+  SDL_LIBS="${SDL_LIBS} -l${lib}"
 else
   as_fn_error $? "*** ${lib} library not found!" "$LINENO" 5
 fi
 
-done
+    done
+
 
 for lib in GL GLU ; do
-    as_ac_Lib=`$as_echo "ac_cv_lib_${lib}''_main" | $as_tr_sh`
+       as_ac_Lib=`$as_echo "ac_cv_lib_${lib}''_main" | $as_tr_sh`
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l${lib}" >&5
 $as_echo_n "checking for main in -l${lib}... " >&6; }
 if eval \${$as_ac_Lib+:} false; then :
@@ -12403,19 +12411,23 @@ eval ac_res=\$$as_ac_Lib
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 $as_echo "$ac_res" >&6; }
 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
-  GL_LIBS="-l${lib} $GL_LIBS"
+  GL_LIBS="${GL_LIBS} -l${lib}"
 else
   as_fn_error $? "*** ${lib} library not found!" "$LINENO" 5
 fi
 
-done
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lftgl" >&5
-$as_echo_n "checking for main in -lftgl... " >&6; }
-if ${ac_cv_lib_ftgl_main+:} false; then :
+    done
+
+
+for lib in ftgl ; do
+       as_ac_Lib=`$as_echo "ac_cv_lib_${lib}''_main" | $as_tr_sh`
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l${lib}" >&5
+$as_echo_n "checking for main in -l${lib}... " >&6; }
+if eval \${$as_ac_Lib+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lftgl  $LIBS"
+LIBS="-l${lib}  $LIBS"
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
@@ -12429,22 +12441,26 @@ return main ();
 }
 _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_ftgl_main=yes
+  eval "$as_ac_Lib=yes"
 else
-  ac_cv_lib_ftgl_main=no
+  eval "$as_ac_Lib=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_ftgl_main" >&5
-$as_echo "$ac_cv_lib_ftgl_main" >&6; }
-if test "x$ac_cv_lib_ftgl_main" = xyes; then :
-  FTGL_LIBS="-lftgl $FTGL_LIBS"
+eval ac_res=\$$as_ac_Lib
+              { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
+  FTGL_LIBS="${FTGL_LIBS} -l${lib}"
 else
-  as_fn_error $? "*** FTGL library not found!" "$LINENO" 5
+  as_fn_error $? "*** ${lib} library not found!" "$LINENO" 5
 fi
 
+    done
+
+