X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=aclocal.m4;h=f16094d82677efd334b4a9f28f9bb2fc53ca8d58;hb=1f81c9b1f21945b2e6772828576e766e6f1238cf;hp=81d1104ef543f200e8b4deca5d903c2f1b762e16;hpb=d8017aecfc2fd57c9a8759b45c4bc655c4479afb;p=ghc-hetmet.git diff --git a/aclocal.m4 b/aclocal.m4 index 81d1104..f16094d 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -199,14 +199,15 @@ case $HostPlatform in alpha-dec-osf*) fptools_cv_leading_underscore=no;; *cygwin32) fptools_cv_leading_underscore=yes;; *mingw32) fptools_cv_leading_underscore=yes;; -*darwin) fptools_cv_leading_underscore=yes;; *) AC_TRY_RUN([#ifdef HAVE_NLIST_H #include struct nlist xYzzY1[] = {{"xYzzY1", 0},{0}}; struct nlist xYzzY2[] = {{"_xYzzY2", 0},{0}}; #endif -int main() +int main(argc, argv) +int argc; +char **argv; { #ifdef HAVE_NLIST_H if(nlist(argv[0], xYzzY1) == 0 && xYzzY1[0].n_value != 0)