diff options
author | Tor Lillqvist <tml@novell.com> | 2005-11-16 19:45:11 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2005-11-16 19:45:11 +0000 |
commit | d351d225618511973d3977069631286753bc478f (patch) | |
tree | 076c830451259a10ecf15c6150fc9d8419695be1 /configure.in | |
parent | 673e0d30edc06f4e51c1a159129010fc9a22149d (diff) | |
download | libcroco-d351d225618511973d3977069631286753bc478f.tar.gz |
New file. libcroco-zip is used to build a libcroco distribution for Win32.
2005-11-16 Tor Lillqvist <tml@novell.com>
* libcroco-zip.in: New file. libcroco-zip is used to build a
libcroco distribution for Win32.
* Makefile.am: Distribute libcroco-zip.in
* configure.in: AC_SUBST also LIBCROCO_CURRENT and LIBCROCO_AGE as
libcroco-zip needs them to construct the DLL name. Check for
Win32, set OS_WIN32 Automake conditional. Expand libcroco-zip.
* src/Makefile.am: Use -no-undefined on Win32. Link libcroco with
GLIB2_LIBS and LIBXML2_LIBS.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.in b/configure.in index a9727f3..40abb63 100644 --- a/configure.in +++ b/configure.in @@ -28,6 +28,8 @@ AC_SUBST(LIBCROCO_MICRO_VERSION) AC_SUBST(LIBCROCO_VERSION) AC_SUBST(LIBCROCO_VERSION_INFO) AC_SUBST(LIBCROCO_VERSION_NUMBER) +AC_SUBST(LIBCROCO_CURRENT) +AC_SUBST(LIBCROCO_AGE) AC_SUBST(VERSION) dnl @@ -55,6 +57,16 @@ AC_ISC_POSIX AM_PROG_LIBTOOL +case "$host" in + *-*-mingw*) + os_win32=yes + ;; + *) + os_win32=no + ;; +esac +AM_CONDITIONAL(OS_WIN32, [test "$os_win32" = "yes"]) + GTK_DOC_CHECK([1.0]) dnl ************************************************************** @@ -149,6 +161,7 @@ AC_OUTPUT([ Makefile libcroco.pc libcroco.spec +libcroco-zip croco-config docs/Makefile docs/examples/Makefile |