I'm sending this again because sylpheed-claws munged my last mail due
to a bug.

I've updated the macros to the newer versions. I've tested the patch and
build gnumach a few times with and without regenerating the configure,
and I haven't had any problems. I don't know how you prefer the patches
to be formated. If you don't like this format just yell at me. I've also
included a small changelog.


-- 
Eric Olinger

Give a man a password, he'll log in for a day. Teach him to code, and he
will hack his way in...

Attachment: gnumach-autoconf.changelog
Description: Binary data

diff -ur gnumach-20040222/aclocal.m4 gnumach-20040222-ac-fixed/aclocal.m4
--- gnumach-20040222/aclocal.m4	1999-04-30 17:34:20.000000000 -0700
+++ gnumach-20040222-ac-fixed/aclocal.m4	2004-02-28 16:59:31.000000000 -0800
@@ -12,10 +12,9 @@
 fi
 
 AC_PROG_CC_WORKS_LOCAL
-AC_PROG_CC_GNU
+AC_PROG_CC
 
-if test $ac_cv_prog_gcc = yes; then
-  GCC=yes
+if test "$GCC" == "yes"; then
 dnl Check whether -g works, even if CFLAGS is set, in case the package
 dnl plays around with CFLAGS (such as to build both debugging and
 dnl normal versions of a library), tasteless as that idea is.
@@ -56,7 +55,7 @@
 [AC_MSG_CHECKING([whether the C compiler ($CC $CFLAGS $LDFLAGS) works])
 AC_LANG_SAVE
 AC_LANG_C
-AC_TRY_COMPILER([main(){return(0);}], ac_cv_prog_cc_works, ac_cv_prog_cc_cross)
+AC_TRY_COMPILE([], [main(){return(0);}], [ac_cv_prog_cc_works=yes], [ac_cv_prog_cc_works=no] )
 AC_LANG_RESTORE
 AC_MSG_RESULT($ac_cv_prog_cc_works)
 if test $ac_cv_prog_cc_works = no; then

Attachment: pgp00000.pgp
Description: PGP signature

_______________________________________________
Help-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-hurd

Reply via email to