iverilog/vpip/configure.in

45 lines
792 B
Plaintext
Raw Normal View History

2001-03-14 20:27:44 +01:00
AC_INIT(Makefile.in)
AC_PROG_CC
2001-04-27 01:32:02 +02:00
AC_CHECK_TOOL(STRIP, strip, true)
2001-03-14 20:27:44 +01:00
AC_PROG_INSTALL
AC_EXEEXT
2004-02-15 04:17:36 +01:00
AC_SUBST(EXEEXT)
2001-05-20 17:09:39 +02:00
2004-02-15 04:17:36 +01:00
# Combined check for Microsoft-related bogosities; sets WIN32 if found
AX_WIN32
2001-05-20 17:09:39 +02:00
# Darwin requires -no-cpp-precomp
case "${host}" in
*-*-darwin*)
CPPFLAGS="-no-cpp-precomp $CPPFLAGS"
CFLAGS="-no-cpp-precomp $CFLAGS"
;;
esac
2001-05-20 17:09:39 +02:00
AC_MSG_CHECKING("for shared library link flag")
shared=-shared
EXTRALIBS=
case "${host}" in
*-*-cygwin*)
shared="-shared -Wl,--enable-auto-image-base"
2001-05-20 17:09:39 +02:00
;;
*-*-hpux*)
shared="-b"
;;
*-*-darwin1.[0123])
shared="-bundle -undefined suppress"
2001-11-04 06:03:21 +01:00
;;
*-*-darwin*)
shared="-bundle -undefined suppress -flat_namespace"
;;
2001-05-20 17:09:39 +02:00
esac
AC_SUBST(shared)
AC_MSG_RESULT($shared)
AC_SUBST(shared)
AC_SUBST(EXTRALIBS)
2001-03-14 20:27:44 +01:00
AC_OUTPUT(Makefile)