* tests/darwin.at: Skip if we can not link a fat program.
Reported by Daniel Macks <dmacks@netspace.org>
+2008-05-31 Peter O'Gorman <peter@pogma.com>
+
+ Skip darwin test if fat link fails.
+ * tests/darwin.at: Skip if we can not link a fat program.
+ Reported by Daniel Macks <dmacks@netspace.org>
+
2008-05-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
libtoolize should not remove config.guess, config.sub.
*) noskip=false ;;
esac
-AT_DATA([foo.c],[[
-int x=0;
+AT_DATA([simple.c] ,[[
+int main() { return 0;}
]])
$noskip && {
-$CC $CPPFLAGS $CFLAGS -arch ppc -arch i386 -c -o foo.o foo.c 2>&1 > /dev/null || noskip=false
-rm -f foo.o
+$CC $CPPFLAGS $CFLAGS -arch ppc -arch i386 -o simple simple.c 2>&1 > /dev/null || noskip=false
+rm -f simple
}
AT_CHECK([$noskip || (exit 77)])
+AT_DATA([foo.c],[[
+int x=0;
+]])
+
AT_DATA([baz.c],[[
int y=0;
]])