autoconf test for GCC+gas under solaris
bobl at optushome.com.au
Wed Jun 8 07:20:51 CDT 2005
Tests compiler is gcc and is built to use gas rather than solaris as
RCS file: /home/wine/wine/configure.ac,v
retrieving revision 1.360
diff -u -3 -p -r1.360 configure.ac
--- configure.ac 6 Jun 2005 15:51:51 -0000 1.360
+++ configure.ac 8 Jun 2005 12:16:12 -0000
@@ -66,6 +66,31 @@ dnl **** Check for some programs ****
+ case $host in
+ dnl check Compiler is compatible (IE GCC using gas as the assembler)
+ if test x$GCC != "xyes"
+ /usr/bin/echo "OOPS you need gcc to compile wine"
+ exit 1
+ /usr/bin/echo "checking gcc is compiled to use gas...\c"
+ if $CC -v 2>&1 |grep "with-gnu-as" >/dev/null
+ /usr/bin/echo "yes"
+ /usr/bin/echo "OOPS you need gcc compiled to use the GNU assembler to compile wine"
+ exit 1
dnl We can't use AC_PROG_CPP for winegcc, it uses by default $(CC) -E
More information about the wine-patches