X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=aclocal.m4;h=620ec35ffe9563cc596838fff2f4f001b68d70a0;hb=242834811c2e5c3a47e8d43ed77cec3c305434b2;hp=b1d177a512edb737029ed44580b45e6ce14f75c5;hpb=3ba59be5c643b4b67016d8a4d9f522cd4decd52f;p=ghc-hetmet.git diff --git a/aclocal.m4 b/aclocal.m4 index b1d177a..620ec35 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -58,7 +58,7 @@ dnl ** check for leading underscores in symbol names AC_DEFUN(AC_UNDERSCORE, [AC_CHECK_LIB(elf, nlist, LIBS="-lelf $LIBS")dnl AC_CACHE_CHECK([leading underscore in symbol names], ac_cv_lead_uscore, -[# +# # Hack!: nlist() under Digital UNIX insist on there being an _, # but symbol table listings show none. What is going on here?!? # @@ -83,8 +83,7 @@ changequote([, ])dnl #endif exit(1); }], ac_cv_lead_uscore=yes, ac_cv_lead_uscore=no, ac_cv_lead_uscore=NO) -fi -]) +fi); LeadingUnderscore=`echo $ac_cv_lead_uscore | sed 'y/yesno/YESNO/'` AC_SUBST(LeadingUnderscore) ]) @@ -240,7 +239,7 @@ AC_DEFUN(AC_HAVE_GCC, ac_cv_have_gcc='no' else changequote(, )dnl - cmd_string="`$CC -v 2>&1 | grep 'version ' | sed -e 's/.*version \([0-9][0-9]*\)\.\([0-9][0-9]*\).*/expr 20 \\\< \2 \\\* 10 + \3/g' `" + cmd_string="`$CC -v 2>&1 | grep 'version ' | sed -e 's/.*version \([0-9][0-9]*\)\.\([0-9][0-9]*\).*/expr 20 \\\< \1 \\\* 10 + \2/g' `" changequote([, ])dnl if test `eval $cmd_string 2>/dev/null` != "1"; then echo ''