diff options
author | Peter Johnson <peter@tortall.net> | 2004-08-14 23:07:58 +0000 |
---|---|---|
committer | Peter Johnson <peter@tortall.net> | 2004-08-14 23:07:58 +0000 |
commit | f094f47abbd13b58dc7820b6c895f658a3a26ddc (patch) | |
tree | 264789f6928b032ee0f516ab564a8b83f6a28816 /m4/lib-prefix.m4 | |
parent | 78a7672adb9af4d05313529364b513bdd1131b2b (diff) | |
download | yasm-f094f47abbd13b58dc7820b6c895f658a3a26ddc.tar.gz |
Update auto*, libtool, libltdl, and gettext scripts.
Make cross-building work by changing how re2c and other build tools are
compiled.
svn path=/trunk/yasm/; revision=1127
Diffstat (limited to 'm4/lib-prefix.m4')
-rw-r--r-- | m4/lib-prefix.m4 | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/m4/lib-prefix.m4 b/m4/lib-prefix.m4 index b8b79ab9..8aff5a9d 100644 --- a/m4/lib-prefix.m4 +++ b/m4/lib-prefix.m4 @@ -1,5 +1,5 @@ -# lib-prefix.m4 serial 1 (gettext-0.11) -dnl Copyright (C) 2001-2002 Free Software Foundation, Inc. +# lib-prefix.m4 serial 3 (gettext-0.13) +dnl Copyright (C) 2001-2003 Free Software Foundation, Inc. dnl This file is free software, distributed under the terms of the GNU dnl General Public License. As a special exception to the GNU General dnl Public License, this file may be distributed as part of a program @@ -8,6 +8,13 @@ dnl the same distribution terms as the rest of that program. dnl From Bruno Haible. +dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and +dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't +dnl require excessive bracketing. +ifdef([AC_HELP_STRING], +[AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])], +[AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])]) + dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed dnl to access previously installed libraries. The basic assumption is that dnl a user will want packages to use other packages he previously installed @@ -26,7 +33,7 @@ AC_DEFUN([AC_LIB_PREFIX], eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) - AC_ARG_WITH([lib-prefix], + AC_LIB_ARG_WITH([lib-prefix], [ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib --without-lib-prefix don't search for libraries in includedir and libdir], [ |