diff options
Diffstat (limited to 'pkgtools/pkg_install/files/configure')
-rwxr-xr-x | pkgtools/pkg_install/files/configure | 92 |
1 files changed, 50 insertions, 42 deletions
diff --git a/pkgtools/pkg_install/files/configure b/pkgtools/pkg_install/files/configure index 249dab130a2..859041c1ca8 100755 --- a/pkgtools/pkg_install/files/configure +++ b/pkgtools/pkg_install/files/configure @@ -310,7 +310,7 @@ ac_includes_default="\ # include <unistd.h> #endif" -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os CANONICAL_HOST INCLUDES SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S RANLIB ac_ct_RANLIB AR CHMOD CMP CP ENV FIND GREP LN MKDIR PAX RMDIR RM SED SORT TOUCH AUTOCONF AUTOHEADER pkgdbdir CPP EGREP LIBOBJS LTLIBOBJS' +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os CANONICAL_HOST INCLUDES SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S RANLIB ac_ct_RANLIB AR CHMOD CMP CP ENV FIND GREP LN MKDIR RMDIR RM SED SORT TOUCH AUTOCONF AUTOHEADER pkgdbdir ftp tar pax mtree CPP EGREP LIBOBJS LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -847,7 +847,11 @@ if test -n "$ac_init_help"; then Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --with-pkgdbdir=DIR Where to put the pkg database (/var/db/pkg) + --with-pkgdbdir=DIR Where to put the pkg database (/var/db/pkg) + --with-ftp=path Path to tnftp (PREFIX/bin/ftp) + --with-tar=path Path to pax-as-tar (PREFIX/bin/tar) + --with-pax=path Path to pax (PREFIX/bin/pax) + --with-mtree=path Path to mtree (PREFIX/sbin/mtree) Some influential environment variables: CC C compiler command @@ -2776,45 +2780,6 @@ else echo "${ECHO_T}no" >&6 fi -# Extract the first word of "pax", so it can be a program name with args. -set dummy pax; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_PAX+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $PAX in - [\\/]* | ?:[\\/]*) - ac_cv_path_PAX="$PAX" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_PAX="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - - ;; -esac -fi -PAX=$ac_cv_path_PAX - -if test -n "$PAX"; then - echo "$as_me:$LINENO: result: $PAX" >&5 -echo "${ECHO_T}$PAX" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - # Extract the first word of "rmdir", so it can be a program name with args. set dummy rmdir; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 @@ -3027,6 +2992,46 @@ fi; +# Check whether --with-ftp or --without-ftp was given. +if test "${with_ftp+set}" = set; then + withval="$with_ftp" + ftp="$with_ftp" +else + ftp='$(prefix)/bin/ftp' +fi; + + + +# Check whether --with-tar or --without-tar was given. +if test "${with_tar+set}" = set; then + withval="$with_tar" + tar="$with_tar" +else + tar='$(prefix)/bin/tar' +fi; + + + +# Check whether --with-pax or --without-pax was given. +if test "${with_pax+set}" = set; then + withval="$with_pax" + pax="$with_pax" +else + pax='$(prefix)/bin/pax' +fi; + + + +# Check whether --with-mtree or --without-mtree was given. +if test "${with_mtree+set}" = set; then + withval="$with_mtree" + mtree="$with_mtree" +else + mtree='$(sbindir)/mtree' +fi; + + + echo "$as_me:$LINENO: checking for dbopen in -ldb1" >&5 echo $ECHO_N "checking for dbopen in -ldb1... $ECHO_C" >&6 @@ -4934,7 +4939,6 @@ s,@FIND@,$FIND,;t t s,@GREP@,$GREP,;t t s,@LN@,$LN,;t t s,@MKDIR@,$MKDIR,;t t -s,@PAX@,$PAX,;t t s,@RMDIR@,$RMDIR,;t t s,@RM@,$RM,;t t s,@SED@,$SED,;t t @@ -4943,6 +4947,10 @@ s,@TOUCH@,$TOUCH,;t t s,@AUTOCONF@,$AUTOCONF,;t t s,@AUTOHEADER@,$AUTOHEADER,;t t s,@pkgdbdir@,$pkgdbdir,;t t +s,@ftp@,$ftp,;t t +s,@tar@,$tar,;t t +s,@pax@,$pax,;t t +s,@mtree@,$mtree,;t t s,@CPP@,$CPP,;t t s,@EGREP@,$EGREP,;t t s,@LIBOBJS@,$LIBOBJS,;t t |