summaryrefslogblamecommitdiff
path: root/games/quakeforge/files/patch-configure
blob: 587800682134189587b16d5d9d235216d7272cf9 (plain) (tree)

























                                                                                                                                      
--- configure.orig	Sun Jul 27 13:19:51 2003
+++ configure	Sun Jul 27 13:41:57 2003
@@ -2042,10 +2042,10 @@
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
-if test ${CFLAGS-unset} = unset; then
+if test "${CFLAGS-unset}" = unset; then
 	CFLAGS=""
 fi
-if test ${AR-unset} = unset; then
+if test "${AR-unset}" = unset; then
 	AR="ar"
 fi
 export AR
@@ -8333,6 +8333,9 @@
 else
 	CPP_NAME="cpp %d -o %o %i"
 	case "$target_os" in
+		*freebsd*)
+			CPP_NAME="cpp %d %i %o"
+			;;
 		*bsd*)
 			touch conftest.c
 			CPP_NAME="`(f=\`$CC -v -E -Dfoo conftest.c -o conftest.i 2>&1 | grep -e -Dfoo\`; set $f; echo "$1")` %d %i %o"