--- /dev/null
+--- gnustep-base-1.15.3/config/pathtls.m4.orig 2008-01-05 14:09:39.000000000 +0000
++++ gnustep-base-1.15.3/config/pathtls.m4 2008-10-08 19:03:13.000000000 +0000
+@@ -43,7 +43,7 @@
+ int
+ main()
+ {
+- system("touch conf.tlstest");
++ if (system("touch conf.tlstest")) return 1;
+
+ if (gnutls_check_version("$min_tls_version") == 0)
+ {
+@@ -71,8 +71,6 @@
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
+ tls_config_micro_version=`$TLS_CONFIG $tls_config_args --version | \
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
+- # Strip '-L/usr/lib' off since this is always in the link path.
+- TLS_LIBS=`echo $TLS_LIBS | sed -e 's|-L/usr/lib||'`
+
+ if test "x$enable_tlstest" = "xyes" ; then
+ ac_save_CFLAGS="$CFLAGS"
+@@ -91,7 +89,7 @@
+ int
+ main()
+ {
+- system("touch conf.tlstest");
++ if (system("touch conf.tlstest")) return 1;
+
+ if (gnutls_check_version("$min_tls_version") == 0)
+ {
+--- gnustep-base-1.15.3/config/pathxml.m4.orig 2006-02-11 18:22:57.000000000 +0000
++++ gnustep-base-1.15.3/config/pathxml.m4 2008-10-08 19:03:43.000000000 +0000
+@@ -56,7 +56,7 @@
+ int major, minor, micro;
+ char *tmp_version;
+
+- system("touch conf.xmltest");
++ if (system("touch conf.xmltest")) return 1;
+
+ tmp_version = xmlStrdup("$min_xml_version");
+ if(sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
+@@ -108,8 +108,6 @@
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
+ xml_config_micro_version=`$XML_CONFIG $xml_config_args --version | \
+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
+- # Strip '-L/usr/lib' off since this is always in the link path.
+- XML_LIBS=`echo $XML_LIBS | sed -e 's|-L/usr/lib||'`
+
+ if test "x$enable_xmltest" = "xyes" ; then
+ ac_save_CFLAGS="$CFLAGS"
+@@ -133,7 +131,7 @@
+ int major, minor, micro;
+ char *tmp_version;
+
+- system("touch conf.xmltest");
++ if (system("touch conf.xmltest")) return 1;
+
+ tmp_version = xmlStrdup("$min_xml_version");
+ if(sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {