version 1.1, 2012/02/21 22:57:48
|
version 1.1.1.2, 2012/05/29 09:29:42
|
Line 1
|
Line 1
|
# Helper functions for option handling. -*- Autoconf -*- |
# Helper functions for option handling. -*- Autoconf -*- |
# |
# |
# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. | # Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation, |
| # Inc. |
# Written by Gary V. Vaughan, 2004 |
# Written by Gary V. Vaughan, 2004 |
# |
# |
# This file is free software; the Free Software Foundation gives |
# This file is free software; the Free Software Foundation gives |
# unlimited permission to copy and/or distribute it, with or without |
# unlimited permission to copy and/or distribute it, with or without |
# modifications, as long as this notice is preserved. |
# modifications, as long as this notice is preserved. |
|
|
# serial 6 ltoptions.m4 | # serial 7 ltoptions.m4 |
|
|
# This is to help aclocal find these macros, as it can't see m4_define. |
# This is to help aclocal find these macros, as it can't see m4_define. |
AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) |
AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) |
Line 125 LT_OPTION_DEFINE([LT_INIT], [win32-dll],
|
Line 126 LT_OPTION_DEFINE([LT_INIT], [win32-dll],
|
[enable_win32_dll=yes |
[enable_win32_dll=yes |
|
|
case $host in |
case $host in |
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*) | *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) |
AC_CHECK_TOOL(AS, as, false) |
AC_CHECK_TOOL(AS, as, false) |
AC_CHECK_TOOL(DLLTOOL, dlltool, false) |
AC_CHECK_TOOL(DLLTOOL, dlltool, false) |
AC_CHECK_TOOL(OBJDUMP, objdump, false) |
AC_CHECK_TOOL(OBJDUMP, objdump, false) |
Line 133 case $host in
|
Line 134 case $host in
|
esac |
esac |
|
|
test -z "$AS" && AS=as |
test -z "$AS" && AS=as |
_LT_DECL([], [AS], [0], [Assembler program])dnl | _LT_DECL([], [AS], [1], [Assembler program])dnl |
|
|
test -z "$DLLTOOL" && DLLTOOL=dlltool |
test -z "$DLLTOOL" && DLLTOOL=dlltool |
_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl | _LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl |
|
|
test -z "$OBJDUMP" && OBJDUMP=objdump |
test -z "$OBJDUMP" && OBJDUMP=objdump |
_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl | _LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl |
])# win32-dll |
])# win32-dll |
|
|
AU_DEFUN([AC_LIBTOOL_WIN32_DLL], |
AU_DEFUN([AC_LIBTOOL_WIN32_DLL], |