iverilog/vpip/configure.in

51 lines
809 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
2001-05-20 17:09:39 +02:00
2001-03-14 20:27:44 +01:00
AC_CYGWIN
AC_EXEEXT
2001-05-20 17:09:39 +02:00
# Darwin requires -no-cpp-precomp
case "${host}" in
*-*-darwin*)
CPPFLAGS="-no-cpp-precomp"
CFLAGS="-no-cpp-precomp"
;;
esac
2001-05-20 17:09:39 +02:00
WIN32=no
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
WIN32=yes
;;
*-*-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_MSG_CHECKING("for win 32")
AC_SUBST(WIN32)
AC_MSG_RESULT($WIN32)
AC_SUBST(WIN32)
2001-03-14 20:27:44 +01:00
AC_SUBST(EXEEXT)
2001-05-20 17:09:39 +02:00
AC_SUBST(shared)
AC_SUBST(EXTRALIBS)
2001-03-14 20:27:44 +01:00
AC_OUTPUT(Makefile)