# HG changeset patch # User John W. Eaton # Date 1472494879 14400 # Node ID 3262d92eff57ad7c467f442148351196bca174ed # Parent 3dc897731d3bfe8ea0a5121a629bfdb9d1ef2f79 configure.in: Create PKG_SRC directory if it doesn't exist. diff -r 3dc897731d3b -r 3262d92eff57 configure.ac --- a/configure.ac Mon Aug 29 13:26:30 2016 -0400 +++ b/configure.ac Mon Aug 29 14:21:19 2016 -0400 @@ -66,7 +66,7 @@ *) PKG_DIR="$withval" ## Ensure directory exists and that we refer to it using an absolute name - if test -d "$PKG_DIR"; then + if ! test -d "$PKG_DIR"; then mkdir -p "$PKG_DIR" fi PKG_DIR=`(cd "$PKG_DIR"; pwd)`