Commit d160844a authored by Simon Morlat's avatar Simon Morlat

fix libtool hacking for windows

parent 928e82e4
...@@ -36,6 +36,10 @@ AC_DEFINE_UNQUOTED(ORTP_MINOR_VERSION,$ORTP_MINOR_VERSION, [minor version]) ...@@ -36,6 +36,10 @@ AC_DEFINE_UNQUOTED(ORTP_MINOR_VERSION,$ORTP_MINOR_VERSION, [minor version])
AC_DEFINE_UNQUOTED(ORTP_MICRO_VERSION,$ORTP_MICRO_VERSION, [micro version]) AC_DEFINE_UNQUOTED(ORTP_MICRO_VERSION,$ORTP_MICRO_VERSION, [micro version])
AC_DEFINE_UNQUOTED(ORTP_VERSION,"$ORTP_VERSION",[ortp version number]) AC_DEFINE_UNQUOTED(ORTP_VERSION,"$ORTP_VERSION",[ortp version number])
dnl Checks for programs.
AC_PROG_CC
LT_INIT([win32-dll shared disable-static])
AC_SUBST([mkdir_p]) AC_SUBST([mkdir_p])
AC_MSG_CHECKING([warning make an error on compilation]) AC_MSG_CHECKING([warning make an error on compilation])
...@@ -120,13 +124,6 @@ if test "$mingw_found" = "yes" ; then ...@@ -120,13 +124,6 @@ if test "$mingw_found" = "yes" ; then
fi fi
],[mingw_found=$mingw_found]) ],[mingw_found=$mingw_found])
dnl Checks for programs.
AC_PROG_CC
AC_LIBTOOL_WIN32_DLL
AC_PROG_LIBTOOL
AC_ENABLE_SHARED(yes)
AC_ENABLE_STATIC(no)
if test "$GCC" != "yes" ; then if test "$GCC" != "yes" ; then
if test "$hpux_host" = "yes" ; then if test "$hpux_host" = "yes" ; then
dnl we are probably using HPUX cc compiler, so add a +O2 to CFLAGS dnl we are probably using HPUX cc compiler, so add a +O2 to CFLAGS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment