Skip to content
Snippets Groups Projects
Commit ac24bf45 authored by kgardas's avatar kgardas Committed by Austin Seipp
Browse files

add --with-ar and --with-ranlib configure parameters


Both --with-ar and --with-ranlib are usable on non-GNU/Linux systems
where GNU tools are usually installed (or possible to install), but
not into standard location nor with standard name. Tested on Solaris 10.

Signed-off-by: default avatarAustin Seipp <austin@well-typed.com>
parent d523f9b3
No related branches found
No related tags found
No related merge requests found
...@@ -486,6 +486,21 @@ FP_ARG_WITH_PATH_GNU_PROG([NM], [nm], [nm]) ...@@ -486,6 +486,21 @@ FP_ARG_WITH_PATH_GNU_PROG([NM], [nm], [nm])
NmCmd="$NM" NmCmd="$NM"
AC_SUBST([NmCmd]) AC_SUBST([NmCmd])
dnl ** Which ar to use?
dnl --------------------------------------------------------------
FP_ARG_WITH_PATH_GNU_PROG([AR], [ar], [ar])
ArCmd="$AR"
fp_prog_ar="$AR"
AC_SUBST([ArCmd])
dnl ** Which ranlib to use?
dnl --------------------------------------------------------------
FP_ARG_WITH_PATH_GNU_PROG([RANLIB], [ranlib], [ranlib])
RanlibCmd="$RANLIB"
RANLIB="$RanlibCmd"
AC_SUBST([RanlibCmd])
# Note: we may not have objdump on OS X, and we only need it on Windows (for DLL checks) # Note: we may not have objdump on OS X, and we only need it on Windows (for DLL checks)
case $HostOS_CPP in case $HostOS_CPP in
cygwin32|mingw32) cygwin32|mingw32)
......
...@@ -661,6 +661,7 @@ DTRACE = @DtraceCmd@ ...@@ -661,6 +661,7 @@ DTRACE = @DtraceCmd@
LD = @LdCmd@ LD = @LdCmd@
NM = @NmCmd@ NM = @NmCmd@
AR = @ArCmd@
OBJDUMP = @ObjdumpCmd@ OBJDUMP = @ObjdumpCmd@
LLC = @LlcCmd@ LLC = @LlcCmd@
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment