diff options
author | Tor Lillqvist <tml@novell.com> | 2008-08-03 23:47:10 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2008-08-03 23:47:10 +0000 |
commit | 71d9f3d45bfed728872c961473b24022a77af63d (patch) | |
tree | ecc34b00fc9ee3a3f65f4110c58ae361d84f6548 /configure.in | |
parent | 963ee0de5e9cce3e51d810c8ac7219aa44daaa44 (diff) | |
download | gdk-pixbuf-71d9f3d45bfed728872c961473b24022a77af63d.tar.gz |
Set LIB_EXE_MACHINE_FLAG to either X86 or X64 on Windows. AC_SUBST it.
2008-08-04 Tor Lillqvist <tml@novell.com>
* configure.in: Set LIB_EXE_MACHINE_FLAG to either X86 or X64 on
Windows. AC_SUBST it.
* gdk/Makefile.am
* gtk/Makefile.am: Pass appropriate -machine flag to lib.exe.
svn path=/trunk/; revision=20957
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.in b/configure.in index f17a9d41a..2acde5e95 100644 --- a/configure.in +++ b/configure.in @@ -123,11 +123,17 @@ AC_CANONICAL_HOST MATH_LIB=-lm AC_MSG_CHECKING([for native Win32]) +LIB_EXE_MACHINE_FLAG=X86 case "$host" in *-*-mingw*) os_win32=yes gio_can_sniff=no MATH_LIB= + case "$host" in + x86_64-*-*) + LIB_EXE_MACHINE_FLAG=X64 + ;; + esac ;; *) os_win32=no @@ -135,11 +141,14 @@ case "$host" in esac AC_MSG_RESULT([$os_win32]) +AC_SUBST(LIB_EXE_MACHINE_FLAG) + case $host in *-*-linux*) os_linux=yes ;; esac + dnl Initialize libtool AC_PROG_CC AM_DISABLE_STATIC |