# HG changeset patch # User John W. Eaton # Date 1472552911 14400 # Node ID 667aa26d9dd4f63874dc2e05a2dced969ee67d96 # Parent 4a414e5b16a44746daf974744061feca05529af0 * configure.ac: Don't use undefined in default definition of PKG_DIR. diff -r 4a414e5b16a4 -r 667aa26d9dd4 configure.ac --- a/configure.ac Mon Aug 29 23:48:04 2016 -0400 +++ b/configure.ac Tue Aug 30 06:28:31 2016 -0400 @@ -53,7 +53,7 @@ esac AC_SUBST(SHELL) -PKG_DIR="$abs_srcdir/pkg" +PKG_DIR="pkg" AC_ARG_WITH([pkg-dir], [AS_HELP_STRING([--with-pkg-dir=DIR], [use DIR as the location for downloaded packages (default: pkg)])]) @@ -65,13 +65,13 @@ ;; *) PKG_DIR="$withval" - ## Ensure directory exists and that we refer to it using an absolute name - if ! test -d "$PKG_DIR"; then - mkdir -p "$PKG_DIR" - fi - PKG_DIR=`(cd "$PKG_DIR"; pwd)` ;; esac +## Ensure directory exists and that we refer to it using an absolute name +if ! test -d "$PKG_DIR"; then + mkdir -p "$PKG_DIR" +fi +PKG_DIR=`(cd "$PKG_DIR"; pwd)` AC_SUBST(PKG_DIR) USE_CCACHE=no