diff options
author | Darren Tucker <dtucker@zip.com.au> | 2015-04-17 09:39:58 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2015-04-17 09:39:58 +1000 |
commit | 408f4c2ad4a4c41baa7b9b2b7423d875abbfa70b (patch) | |
tree | 2566ef15202dd75fcd57b40be08cc1c0b60116d4 | |
parent | 673a1c16ad078d41558247ce739fe812c960acc8 (diff) |
Look for '${host}-ar' before 'ar'.
This changes configure.ac to look for '${host}-ar' as set by
AC_CANONICAL_HOST before looking for the unprefixed 'ar'.
Useful when cross-compiling when all your binutils are prefixed.
Patch from moben at exherbo org via astrand at lysator liu se and
bz#2352.
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 5c9e0f87a..606c7363b 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -30,7 +30,7 @@ AC_PROG_CPP | |||
30 | AC_PROG_RANLIB | 30 | AC_PROG_RANLIB |
31 | AC_PROG_INSTALL | 31 | AC_PROG_INSTALL |
32 | AC_PROG_EGREP | 32 | AC_PROG_EGREP |
33 | AC_PATH_PROG([AR], [ar]) | 33 | AC_CHECK_TOOLS([AR], [ar]) |
34 | AC_PATH_PROG([CAT], [cat]) | 34 | AC_PATH_PROG([CAT], [cat]) |
35 | AC_PATH_PROG([KILL], [kill]) | 35 | AC_PATH_PROG([KILL], [kill]) |
36 | AC_PATH_PROGS([PERL], [perl5 perl]) | 36 | AC_PATH_PROGS([PERL], [perl5 perl]) |