summaryrefslogtreecommitdiff
path: root/multimedia/smpeg/files/patch-configure
blob: c698a2f816b0bf6fb21e687235c223c75c664f66 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
--- configure.orig	2001-04-24 19:25:46 UTC
+++ configure
@@ -58,7 +58,6 @@ ac_help="$ac_help
 # The variables have the same names as the options, with
 # dashes changed to underlines.
 build=NONE
-cache_file=./config.cache
 exec_prefix=NONE
 host=NONE
 no_create=
@@ -1055,7 +1054,7 @@ cat > conftest.$ac_ext << EOF
 #line 1056 "configure"
 #include "confdefs.h"
 
-main(){return(0);}
+int main(){return(0);}
 EOF
 if { (eval echo configure:1061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   ac_cv_prog_cc_works=yes
@@ -1850,7 +1849,7 @@ esac
 
 
 # Save cache, so that ltconfig can load it
-cat > confcache <<\EOF
+<<\EOF
 # This file is a shell script that caches the results of configure
 # tests run on this system so they can be shared between configure
 # scripts and configure runs.  It is not useful on other systems.
@@ -1903,8 +1902,6 @@ CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
 LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
 DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
-${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
-$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \
 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
 
 # Reload cache, that may have been modified by ltconfig
@@ -2335,6 +2332,7 @@ rm -f conftest*
 
 CFLAGS="$CFLAGS $SDL_CFLAGS"
 LIBS="$LIBS $SDL_LIBS"
+CC="$REAL_CC"
 
 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6
 echo "configure:2341: checking for sqrt in -lm" >&5