X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=configure.ac;h=9d448213a0bca1f2abb0befe32a1798ed45dd79a;hb=765763202489b4981a98d6964945057fd1279774;hp=2f0a5a460d22a2c6bec9b5e032530391386e06d1;hpb=4c77c1691b039c9a02e0835b7937570d45049062;p=simgear.git diff --git a/configure.ac b/configure.ac index 2f0a5a46..9d448213 100644 --- a/configure.ac +++ b/configure.ac @@ -113,6 +113,13 @@ else fi AM_CONDITIONAL(ENABLE_JPEG_SERVER, test "x$with_jpeg_factory" = "xyes") +# specify the plib location +AC_ARG_WITH(plib, [ --with-plib=PREFIX Specify the prefix path to plib]) + +if test "x$with_plib" != "x" ; then + echo "plib prefix is $with_plib" + EXTRA_DIRS="${EXTRA_DIRS} $with_plib" +fi dnl Determine an extra directories to add to include/lib search paths case "${host}" in @@ -127,7 +134,7 @@ case "${host}" in if test -d /opt/X11R6 ; then EXTRA_DIR2="/opt/X11R6" fi - EXTRA_DIRS="$EXTRA_DIR1 $EXTRA_DIR2" + EXTRA_DIRS="${EXTRA_DIRS} $EXTRA_DIR1 $EXTRA_DIR2" ;; esac