This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

config.h.in wants to be free^Wrebuilt


Last week I had a brief go at making the v3 configury work with autoconf
2.5x.  (No go, they still have weirdness with cross-compilers.)  I did
however find some things which we'll probably want to change, and I'm
going to check in some comments in configure.in to that effect.

But in testing, I found that config.h.in gets rebuilt even with our
current setup, i.e., just run autoheader and you get a different output
file than what's in CVS.  The diff is below.  I don't know what changed
to cause these results, but it looks like folks might be forgetting to
run autoheader before committing a configury change.

I'll check this in with my 2.5x comments once I do some more tests.


Index: config.h.in
===================================================================
RCS file: /home/pme/Repositories/GCC/gcc/libstdc++-v3/config.h.in,v
retrieving revision 1.51
diff -u -3 -r1.51 config.h.in
--- config.h.in	12 Mar 2002 02:41:59 -0000	1.51
+++ config.h.in	18 Mar 2002 19:50:14 -0000
@@ -3,6 +3,9 @@
 /* Define if you have a working `mmap' system call.  */
 #undef HAVE_MMAP
 
+/* Define if you need to in order for stat and other things to work.  */
+#undef _POSIX_SOURCE
+
 // Define if GCC supports weak symbols.
 #undef _GLIBCPP_SUPPORTS_WEAK
 
@@ -699,9 +702,6 @@
 /* Define if you have the <nan.h> header file.  */
 #undef HAVE_NAN_H
 
-/* Define if you have the <stdlib.h> header file.  */
-#undef HAVE_STDLIB_H
-
 /* Define if you have the <sys/isa_defs.h> header file.  */
 #undef HAVE_SYS_ISA_DEFS_H
 
@@ -710,9 +710,6 @@
 
 /* Define if you have the <sys/resource.h> header file.  */
 #undef HAVE_SYS_RESOURCE_H
-
-/* Define if you have the <sys/stat.h> header file.  */
-#undef HAVE_SYS_STAT_H
 
 /* Define if you have the <sys/types.h> header file.  */
 #undef HAVE_SYS_TYPES_H


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]