summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorsimonm <unknown>1998-02-05 12:23:54 +0000
committersimonm <unknown>1998-02-05 12:23:54 +0000
commit23c94851fb2c98d345d913d35a5a12bbc3a346bd (patch)
tree3a0a343d256e7317c8956d5b3e931af06fc5d29f /aclocal.m4
parentf3386bdb5876d21e7ae876ad7b82f1517c5d643e (diff)
downloadhaskell-23c94851fb2c98d345d913d35a5a12bbc3a346bd.tar.gz
[project @ 1998-02-05 12:23:33 by simonm]
alpha-dec-osf1 and alpha-dec-osf3 are now separate configurations.
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m412
1 files changed, 8 insertions, 4 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 08f69313c4..de6b4215fa 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -62,9 +62,12 @@ 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?!?
#
-if test $HostPlatform = "alpha-dec-osf1"; then
- ac_cv_lead_uscore='no'
-else
+changequote(<<, >>)dnl
+<<
+case $HostPlatform in
+alpha-dec-osf*) ac_cv_lead_uscore='no';;
+*) >>
+changequote([, ])dnl
AC_TRY_RUN([#ifdef HAVE_NLIST_H
#include <nlist.h>
changequote(<<, >>)dnl
@@ -83,7 +86,8 @@ changequote([, ])dnl
#endif
exit(1);
}], ac_cv_lead_uscore=yes, ac_cv_lead_uscore=no, ac_cv_lead_uscore=NO)
-fi);
+;;
+esac);
LeadingUnderscore=`echo $ac_cv_lead_uscore | sed 'y/yesno/YESNO/'`
AC_SUBST(LeadingUnderscore)
])