about summary refs log tree commit diff
path: root/conform/conformtest.pl
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-08-24 20:40:44 +0000
committerUlrich Drepper <drepper@redhat.com>1999-08-24 20:40:44 +0000
commit52cf7d345d34e59973a8cc04773bdc1f9ba39421 (patch)
tree1ef2f778718c17af739761798c357666308b1bc4 /conform/conformtest.pl
parentda1067a9154c3125a4274e1d039dd5b2d3aa953c (diff)
downloadglibc-52cf7d345d34e59973a8cc04773bdc1f9ba39421.tar.gz
glibc-52cf7d345d34e59973a8cc04773bdc1f9ba39421.tar.xz
glibc-52cf7d345d34e59973a8cc04773bdc1f9ba39421.zip
Update.
	* misc/libgen.h: Don't take basename macro as taking arguments.

	* sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
	for gcc >= 2.95.
	* sysdeps/i386/bits/huge_val.h: Likewise.
	* sysdeps/i386/bits/huge_val.h: Likewise.
	* sysdeps/ieee754/bits/huge_val.h: Likewise.
	* sysdeps/m68k/bits/huge_val.h: Likewise.
	* sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
	* sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
Diffstat (limited to 'conform/conformtest.pl')
-rw-r--r--conform/conformtest.pl10
1 files changed, 6 insertions, 4 deletions
diff --git a/conform/conformtest.pl b/conform/conformtest.pl
index fc6eb761cf..1d83d0dcc8 100644
--- a/conform/conformtest.pl
+++ b/conform/conformtest.pl
@@ -1,10 +1,12 @@
 #! /usr/bin/perl
 
 $CC = "gcc";
-$CFLAGS = "-I. -D_XOPEN_SOURCE=500";
+$CFLAGS = "-I. '-D__attribute__(x)=' -D_XOPEN_SOURCE=500";
 
 # List of the headers we are testing.
-@headers = ("fmtmsg.h", "float.h", "fcntl.h", "errno.h", "dlfcn.h", "dirent.h",
+@headers = ("math.h", "locale.h", "libgen.h", "langinfo.h", "iso646.h",
+	    "inttypes.h", "iconv.h", "grp.h", "glob.h", "ftw.h", "fnmatch.h",
+	    "fmtmsg.h", "float.h", "fcntl.h", "errno.h", "dlfcn.h", "dirent.h",
 	    "ctype.h", "cpio.h", "assert.h", "aio.h");
 
 # These are the ISO C9x keywords.
@@ -341,7 +343,7 @@ while ($#headers >= 0) {
       # Generate a program to test for availability of this function.
       open (TESTFILE, ">$fnamebase.c");
       print TESTFILE "#include <$h>\n";
-      print TESTFILE "#undef $fname\n";
+      # print TESTFILE "#undef $fname\n";
       print TESTFILE "$rettype (*foobarbaz) $args = $fname;\n";
       close (TESTFILE);
 
@@ -351,7 +353,7 @@ while ($#headers >= 0) {
       # Generate a program to test for the type of this function.
       open (TESTFILE, ">$fnamebase.c");
       print TESTFILE "#include <$h>\n";
-      print TESTFILE "#undef $fname\n";
+      # print TESTFILE "#undef $fname\n";
       print TESTFILE "extern $rettype (*foobarbaz) $args;\n";
       print TESTFILE "extern __typeof__ (&$fname) foobarbaz;\n";
       close (TESTFILE);