Parent Directory | Revision Log | Patch
revision 1.210 by camm, Fri Dec 9 01:05:39 2005 UTC | revision 1.211 by camm, Fri Dec 9 02:08:21 2005 UTC | |
---|---|---|
# | Line 2056 echo "configure:2056: checking "for lead | Line 2056 echo "configure:2056: checking "for lead |
2056 | cat>foo.c <<EOFF | cat>foo.c <<EOFF |
2057 | #include <math.h> | #include <math.h> |
2058 | #include <stdio.h> | #include <stdio.h> |
2059 | int main() {double d=0.0;cos(d);printf("%g",cos(d));return 0;} | int main() {FILE *f;double d=0.0;getc(f);cos(d);printf("%g",cos(d));return 0;} |
2060 | EOFF | EOFF |
2061 | $CC -c foo.c -o foo.o | $CC -c foo.c -o foo.o |
2062 | if nm foo.o |grep " U " | grep "_cos" >/dev/null ; then | if nm foo.o |grep " U " | grep "_cos" >/dev/null || nm foo.o |grep " U " | grep "_getc" >/dev/null ; then |
2063 | LEADING_UNDERSCORE=1 | LEADING_UNDERSCORE=1 |
2064 | echo "$ac_t"""yes"" 1>&6 | echo "$ac_t"""yes"" 1>&6 |
2065 | else | else |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |