diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac index 9c9d038..0beab1e 100644 --- a/configure.ac +++ b/configure.ac @@ -50,25 +50,25 @@ AC_ARG_WITH( ) AC_ARG_WITH( - [ldd], - [AS_HELP_STRING([--with-ldd=PATH], [path to ldd])], + [readelf], + [AS_HELP_STRING([--with-readelf=PATH], [path to readelf])], [ case "${withval}" in 'yes'|'') - AC_MSG_ERROR([--with-ldd requires an argument]) + AC_MSG_ERROR([--with-readelf requires an argument]) ;; 'no') - AC_MSG_ERROR([ldd is required]) + AC_MSG_ERROR([readelf is required]) ;; *) - LDD="${withval}" + READELF="${withval}" ;; esac ], [ - AC_PATH_PROG([LDD], [ldd]) - if test -z "${LDD}"; then - AC_MSG_ERROR([ldd not found]) + AC_PATH_PROG([READELF], [readelf]) + if test -z "${READELF}"; then + AC_MSG_ERROR([readelf not found]) fi ] ) @@ -143,7 +143,7 @@ AC_ARG_WITH( ) AC_SUBST([SH]) -AC_SUBST([LDD]) +AC_SUBST([READELF]) AC_SUBST([OPKG]) AC_SUBST([multiarch_libdir]) AC_SUBST([helperdir]) |