diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2001-11-19 01:52:38 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2001-11-19 01:52:38 -0500 |
commit | 90d33dc9d0323ee3faf8477fcbddb376a6fcdb9a (patch) | |
tree | aa9874302b6efa2cb7f75f9b8cd4891fb11d032b /configure.in | |
parent | 6cb04c09f063188e7dae5d1e5e5c69eb64703626 (diff) | |
download | lynx-snapshots-90d33dc9d0323ee3faf8477fcbddb376a6fcdb9a.tar.gz |
snapshot of project "lynx", label v2-8-5dev_5
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 73 |
1 files changed, 41 insertions, 32 deletions
diff --git a/configure.in b/configure.in index 90ebcccd..00a0b02f 100644 --- a/configure.in +++ b/configure.in @@ -301,38 +301,9 @@ CF_DEFINE_PROG(system mailer, SYSTEM_MAIL, /usr/lib/sendmail \ ) CF_SYSTEM_MAIL_FLAGS - -CF_PATH_PROG(CHMOD, chmod) -CF_PATH_PROG(COMPRESS, compress) -CF_PATH_PROG(COPY, cp) -CF_PATH_PROG(GZIP, gzip) -CF_PATH_PROG(MKDIR, mkdir) -CF_PATH_PROG(MV, mv) -CF_PATH_PROG(RM, rm) -CF_PATH_PROG(TAR, tar) -CF_PATH_PROG(TOUCH, touch) -CF_PATH_PROG(UNCOMPRESS,gunzip) -CF_PATH_PROG(UNZIP, unzip) -CF_PATH_PROG(BZIP2, bzip2) -CF_PATH_PROG(UUDECODE, uudecode) -CF_PATH_PROG(ZCAT, zcat) -CF_PATH_PROG(ZIP, zip) -CF_PATH_PROG(TELNET, telnet) -CF_PATH_PROG(TN3270, tn3270) -CF_PATH_PROG(RLOGIN, rlogin) - -dnl 'INSTALL' is a special case, since the configure script has to find a -dnl BSD-compatible one so the build/install works properly. -case "$INSTALL" in -$srcdir*) # (vi - AC_DEFINE_UNQUOTED(INSTALL_PATH,"install") - ;; -*) # (vi - cf_save_INSTALL="$INSTALL" - CF_PATH_PROG(INSTALL, install) - INSTALL="$cf_save_INSTALL" - ;; -esac +if test $with_full_paths = no ; then + SYSTEM_MAIL=`basename $SYSTEM_MAIL` +fi CF_GNU_SOURCE @@ -1118,9 +1089,47 @@ CF_ARG_DISABLE(parent-dir-refs, [AC_DEFINE(NO_PARENT_DIR_REFERENCE)]) AC_MSG_RESULT($enableval) +CF_PATH_PROG(TELNET, telnet) +CF_PATH_PROG(TN3270, tn3270) +CF_PATH_PROG(RLOGIN, rlogin) + +CF_PATH_PROG(MV, mv) + +CF_PATH_PROG(UNCOMPRESS,gunzip) +CF_PATH_PROG(UNZIP, unzip) +CF_PATH_PROG(BZIP2, bzip2) + dnl -------------------------------------------------------------------------- dnl Test features that rely on configure-definitions dnl -------------------------------------------------------------------------- +if test ".$use_dired" != ".no" ; then + +CF_PATH_PROG(COMPRESS, compress) +CF_PATH_PROG(GZIP, gzip) +CF_PATH_PROG(RM, rm) +CF_PATH_PROG(TAR, tar) +CF_PATH_PROG(UUDECODE, uudecode) +CF_PATH_PROG(ZCAT, zcat) +CF_PATH_PROG(ZIP, zip) +dnl builtin: CF_PATH_PROG(CHMOD, chmod) +dnl builtin: CF_PATH_PROG(COPY, cp) +dnl builtin: CF_PATH_PROG(MKDIR, mkdir) +dnl builtin: CF_PATH_PROG(TOUCH, touch) + +dnl 'INSTALL' is a special case, since the configure script has to find a +dnl BSD-compatible one so the build/install works properly. +case "$INSTALL" in +$srcdir*) # (vi + AC_DEFINE_UNQUOTED(INSTALL_PATH,"install") + ;; +*) # (vi + cf_save_INSTALL="$INSTALL" + CF_PATH_PROG(INSTALL, install) + INSTALL="$cf_save_INSTALL" + ;; +esac +fi + if test $cf_cv_screen = pdcurses ; then CF_HELP_MESSAGE(Special Libraries for PDCurses X11:) CF_PDCURSES_X11 |