diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-14 14:26:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-14 15:23:44 +0100 |
commit | 96897179316efa2f799f3b20212d0254ab057557 (patch) | |
tree | a7cec6173bc8d1cc6804af8ef4b63ec1d39370e2 /configure.in | |
parent | a74a596e25dbdc07a23e1e001a3b3e4d24a34968 (diff) |
add check for extra bit of minimal perl, etc. env
Diffstat (limited to 'configure.in')
-rwxr-xr-x | configure.in | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 6015b025ccd6..c61685cc7069 100755 --- a/configure.in +++ b/configure.in @@ -1540,6 +1540,13 @@ androideabi*) ;; esac +if test "$_os" = "AIX"; then + AC_PATH_PROG(GAWK, gawk) + if test -z "$GAWK"; then + AC_MSG_ERROR([gawk not found in \$PATH]) + fi +fi + AC_SUBST(WITH_MINGW) AC_SUBST(OSVERSION) AC_SUBST(PTHREAD_CFLAGS) @@ -2213,7 +2220,7 @@ dnl Testing for required Perl modules dnl =================================================================== AC_MSG_CHECKING([for required Perl modules]) -if `$PERL -e 'use Archive::Zip;'`; then +if `$PERL -e 'use Archive::Zip; use Cwd;'`; then AC_MSG_RESULT([all modules found]) else AC_MSG_ERROR([Failed to find some modules]) @@ -6317,7 +6324,7 @@ elif $GNUCP --version 2>/dev/null | grep "GNU fileutils" >/dev/null 2>/dev/null; AC_MSG_RESULT([yes]) else case "$build_os" in - darwin*|netbsd*|openbsd*|freebsd*|dragonfly*) + darwin*|netbsd*|openbsd*|freebsd*|dragonfly*|aix*) GNUCP='' AC_MSG_RESULT([no gnucp found - using the system's cp command]) ;; |