fix bug that prevent --mandir from overriding the defaults given in the --with-fhs...
authorGerald Carter <jerry@samba.org>
Thu, 11 Dec 2003 22:31:00 +0000 (22:31 +0000)
committerGerald Carter <jerry@samba.org>
Thu, 11 Dec 2003 22:31:00 +0000 (22:31 +0000)
source/configure.in

index 62bba1ea138123588f050d480fc6bf1ad9d5b785..4d681c0d8739145998fdca18365006bcc3ddc758 100644 (file)
@@ -28,7 +28,6 @@ AC_ARG_WITH(fhs,
     logfilebase="\${VARDIR}"
     lockdir="\${VARDIR}/locks"
     piddir="\${VARDIR}/locks"
-    mandir="\${prefix}/man"
     privatedir="\${prefix}/private"
     swatdir="\${prefix}/swat")
 
@@ -80,23 +79,6 @@ AC_ARG_WITH(piddir,
     ;;
   esac])
 
-#################################################
-# set pid directory location
-AC_ARG_WITH(piddir,
-[  --with-mandir=DIR       Where to put man pages ($ac_default_prefix/man)],
-[ case "$withval" in
-  yes|no)
-  #
-  # Just in case anybody calls it without argument
-  #
-    AC_MSG_WARN([--with-mandir called without argument - will use default])
-  ;;
-  * )
-    piddir="$withval"
-    ;;
-  esac])
-
-
 #################################################
 # set SWAT directory location
 AC_ARG_WITH(swatdir,
@@ -167,7 +149,6 @@ done
 AC_SUBST(configdir)
 AC_SUBST(lockdir)
 AC_SUBST(piddir)
-AC_SUBST(mandir)
 AC_SUBST(logfilebase)
 AC_SUBST(privatedir)
 AC_SUBST(swatdir)