Skip to content

Commit a64287c

Browse files
committed
configure.ac: use AM_PROG_AR
This way AR is properly queried for including when cross-compiling where a more graceful fallback than "ar" is needed.
1 parent 0498b59 commit a64287c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

configure.ac

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,8 @@ gl_EARLY
267267

268268
AC_ARG_VAR(RANLIB,[ranlib command or path])
269269
AC_PROG_RANLIB
270-
PRETTY_ARG_VAR([AR], [ar command or path], [ar])
270+
AC_ARG_VAR(AR,[ar command or path])
271+
AM_PROG_AR
271272
AC_C_BIGENDIAN
272273

273274
if test "$cross_compiling" = "yes"; then

0 commit comments

Comments
 (0)