summaryrefslogtreecommitdiff
path: root/multimedia/smpeg/files/patch-configure
blob: 46e0c0dc932ec65c7978d98a275d4513ad67e5e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

$FreeBSD$

--- configure	2002/07/02 12:33:37	1.1
+++ configure	2002/07/02 12:34:01
@@ -1055,7 +1055,7 @@
 #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 +2335,7 @@
 
 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