[project @ 1998-08-18 20:43:35 by sof]
[ghc-hetmet.git] / configure.in
index 527f9c8..c0fac1e 100644 (file)
@@ -284,16 +284,24 @@ AC_SUBST(exeext)
 dnl * Booting from .hc files?
 #--------------------------------------------------------------
 AC_ARG_ENABLE(hc-boot,
-   [
-Boot the Glasgow Haskell Compiler from intermediate .hc files.
-(This option is mostly of interest for porters.)
-   ],
-
-   BootingFromHc=YES,
-   BootingFromHc=NO
+[  --enable-hc-boot
+        Boot the Glasgow Haskell Compiler from intermediate .hc files.
+        (This option is mostly of interest to porters.)
+],
+[BootingFromHc=YES],
+[BootingFromHc=NO]
 )
 AC_SUBST(BootingFromHc)
 
+AC_ARG_WITH(gcc,
+[  --with-gcc=<gcc command>
+        Use a different command instead of 'gcc' for the GNU C compiler.
+],
+[WhatGccIsCalled="$withval"],
+[WhatGccIsCalled="gcc"]
+)
+AC_SUBST(WhatGccIsCalled)
+
 # -------------------------------------------------------------------------
 dnl
 dnl * _GENERAL_ CONFIGURATION CHECKS
@@ -416,7 +424,7 @@ AC_HEADER_STDC
 #
 dnl ** check for specific header (.h) files that we are interested in
 #
-AC_CHECK_HEADERS(dirent.h fcntl.h grp.h malloc.h memory.h nlist.h pwd.h siginfo.h signal.h stdlib.h string.h sys/fault.h sys/file.h sys/mman.h sys/param.h sys/procfs.h sys/resource.h sys/signal.h sys/socket.h sys/stat.h sys/syscall.h sys/time.h sys/timeb.h sys/timers.h sys/times.h sys/types.h sys/utsname.h sys/vadvise.h sys/wait.h termios.h time.h types.h unistd.h utime.h vfork.h readline/readline.h bfd.h)
+AC_CHECK_HEADERS(dirent.h fcntl.h grp.h malloc.h memory.h nlist.h pwd.h siginfo.h signal.h stdlib.h string.h sys/fault.h sys/file.h sys/mman.h sys/param.h sys/procfs.h sys/resource.h sys/signal.h sys/socket.h netinet/tcp.h sys/stat.h sys/syscall.h sys/time.h sys/timeb.h sys/timers.h sys/times.h sys/types.h sys/utsname.h sys/vadvise.h sys/wait.h termios.h time.h types.h unistd.h utime.h vfork.h readline/readline.h bfd.h)
 
 #
 dnl ** check if it is safe to include both <time.h> and <sys/time.h>