freebsd-ports/games/gma/files/patch-configure
2003-05-18 11:25:51 +00:00

44 lines
1.3 KiB
Plaintext

--- configure.orig Sun May 18 19:14:38 2003
+++ configure Sun May 18 19:17:02 2003
@@ -1246,40 +1246,6 @@
fi
-ac_safe=`echo "stl.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for stl.h""... $ac_c" 1>&6
-echo "configure:1252: checking for stl.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 1257 "configure"
-#include "confdefs.h"
-#include <stl.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1262: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- :
-else
- echo "$ac_t""no" 1>&6
-{ echo "configure: error: This program requires STL to compile. Sorry." 1>&2; exit 1; }
-fi
-
ac_safe=`echo "string" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for string""... $ac_c" 1>&6
echo "configure:1286: checking for string" >&5