mirror of
https://git.savannah.gnu.org/git/gperf.git
synced 2025-12-02 13:09:22 +00:00
Use proper 'ar' program when cross-compiling or when AR is specified.
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
2016-11-26 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
Use proper 'ar' program when cross-compiling or when AR is specified.
|
||||
* lib/configure.ac (AR): Determine through AC_CHECK_TOOL.
|
||||
* lib/Makefile.in (AR): Use value determined by 'configure'.
|
||||
Reported by György Andrasek <jurily@gmail.com>
|
||||
at <http://lists.gnu.org/archive/html/bug-gperf/2014-04/msg00000.html>.
|
||||
|
||||
2016-11-26 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
Avoid 'warning: cast from pointer to integer of different size'
|
||||
|
||||
@@ -41,7 +41,7 @@ CXXCPP = @CXXCPP@
|
||||
# Both C and C++ compiler
|
||||
OBJEXT = @OBJEXT@
|
||||
# Other
|
||||
AR = ar
|
||||
AR = @AR@
|
||||
AR_FLAGS = rc
|
||||
RANLIB = @RANLIB@
|
||||
MV = mv
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
dnl autoconf configuration for gperf/lib
|
||||
|
||||
dnl Copyright (C) 1998, 2002, 2005, 2007, 2009 Free Software Foundation, Inc.
|
||||
dnl Copyright (C) 1998, 2002, 2005, 2007, 2009, 2016 Free Software Foundation, Inc.
|
||||
dnl Written by Douglas C. Schmidt <schmidt@ics.uci.edu>
|
||||
dnl and Bruno Haible <bruno@clisp.org>.
|
||||
dnl
|
||||
@@ -33,6 +33,8 @@ AC_PROG_CXX
|
||||
dnl sets variable CXX
|
||||
AC_PROG_CXXCPP
|
||||
dnl sets variable CXXCPP
|
||||
AC_CHECK_TOOL([AR], [ar])
|
||||
dnl sets variable AR
|
||||
AC_PROG_RANLIB
|
||||
dnl sets variable RANLIB
|
||||
CL_PROG_INSTALL
|
||||
|
||||
Reference in New Issue
Block a user