summaryrefslogtreecommitdiff
path: root/multimedia/smpeg/files/patch-configure
blob: d50e0a35b262c75bb11e25fe173327ac7e9d4dba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- configure.orig	2001-04-24 19:25:46 UTC
+++ configure
@@ -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
@@ -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