Re: Report on building GNOME 1.4 Beta 2



ERDI Gergo <cactus cactus rulez org> writes:

> On 3 Mar 2001, Maciej Stachowiak wrote:
> 
> > > > [3] Due to autoconf weirdness, the gtk-- check here will fail. To fix
> > > > it, edit configure, search for this prototype of `exit', and remove
> > > > it, or else recent gcc's will hate you:
> > > > 
> > > > #ifdef __cplusplus
> > > > extern "C" void exit(int);
> > > > #endif
> > > 
> > > Do you have any idea how I could fix this? (maybe some tweaking with
> > > AC_LANG_CXX/AC_LANG_C?)
> > > 
> > 
> > 
> > I think by patching the configure script after generating it with
> > autoconf (you can add this step to autogen.sh easily). I expect this
> > will be fixed in autoconf at some point. I can provide a patch to
> > panelmm to patch configure like that at autogen time if it would help.
> 
> Sorry to bother you again, but could you please send me this patch
> supermegafast to get it into GNOME 1.4 RC1? (if you've already sent it
> to me the first time I asked, I must have missed it so please send again)
> 

Oh no, I suck. Here it is:

--- panelmm-0.1.orig/configure  Tue Apr 18 17:19:22 2000
+++ panelmm-0.1/configure       Tue Mar  6 10:17:31 2001
@@ -2598,9 +2598,6 @@
   cat > conftest.$ac_ext <<EOF
 #line 2600 "configure"
 #include "confdefs.h"
-#ifdef __cplusplus
-extern "C" void exit(int);
-#endif
 
 #include <gtk--.h>
 #include <stdio.h>

 

_______________________________________________
gnome-hackers mailing list
gnome-hackers gnome org
http://mail.gnome.org/mailman/listinfo/gnome-hackers




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]