Skip to content

Commit 4e1ca71

Browse files
Jakov Smolicalexkay
Jakov Smolic
authored andcommitted
configure.ac: detect AR tool with AM_PROG_AR
Before the change configure refers to 'ar' tool. After the change it refers to 'x86_64-pc-linux-gnu-ar'. This helps user to consistently pick 'ar' tool implementation. Reported-by: Agostino Sarubbo Bug: https://bugs.gentoo.org/754861
1 parent 61cc665 commit 4e1ca71

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Makefile.in
1313
Makefile.in.in
1414
aclocal.m4
1515
autom4te.cache
16+
ar-lib
1617
compile
1718
config.*
1819
configure

configure.ac

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ AM_INIT_AUTOMAKE([1.11.1 foreign no-dist-gzip dist-xz serial-tests])
55
AM_SILENT_RULES([yes])
66

77
AC_LANG([C++])
8+
AM_PROG_AR
89
AC_PROG_CXX
910
CXXFLAGS="$CXXFLAGS -std=gnu++11 -Wall -Wextra"
1011
AC_PROG_CXXCPP

0 commit comments

Comments
 (0)