X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=configure;h=2f2a25e33d91ad7dd3b365d80e9ac5fa8a41ee2c;hp=b7ccee66b2bbb0c77606b06b849da2a436a43b12;hb=refs%2Ftags%2Fnfs-utils-0-3-2-pre2;hpb=19418a24ea711c66b0f3bf5bd72b3695e4382bc1 diff --git a/configure b/configure index b7ccee6..2f2a25e 100755 --- a/configure +++ b/configure @@ -12,6 +12,8 @@ ac_help= ac_default_prefix=/usr/local # Any additions from configure.in: ac_default_prefix=/usr +ac_help="$ac_help + --with-release=XXX set release to XXX [1]" ac_help="$ac_help --with-statedir=/foo use state dir /foo [/var/lib/nfs]" ac_help="$ac_help @@ -37,7 +39,6 @@ program_suffix=NONE program_transform_name=s,x,x, silent= site= -sitefile= srcdir= target=NONE verbose= @@ -152,7 +153,6 @@ Configuration: --help print this message --no-create do not create output files --quiet, --silent do not print \`checking...' messages - --site-file=FILE use FILE as the site file --version print the version of autoconf that created configure Directory and file names: --prefix=PREFIX install architecture-independent files in PREFIX @@ -323,11 +323,6 @@ EOF -site=* | --site=* | --sit=*) site="$ac_optarg" ;; - -site-file | --site-file | --site-fil | --site-fi | --site-f) - ac_prev=sitefile ;; - -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*) - sitefile="$ac_optarg" ;; - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) @@ -493,16 +488,12 @@ fi srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` # Prefer explicitly selected file to automatically selected ones. -if test -z "$sitefile"; then - if test -z "$CONFIG_SITE"; then - if test "x$prefix" != xNONE; then - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" - else - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" - fi +if test -z "$CONFIG_SITE"; then + if test "x$prefix" != xNONE; then + CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" + else + CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" fi -else - CONFIG_SITE="$sitefile" fi for ac_site_file in $CONFIG_SITE; do if test -r "$ac_site_file"; then @@ -544,9 +535,18 @@ fi # The nfs-utils version -VERSION="0.2.1" +VERSION="0.3.2" +# Check whether --with-release or --without-release was given. +if test "${with_release+set}" = set; then + withval="$with_release" + RELEASE=$withval +else + RELEASE=1 +fi + + # Check whether --with-statedir or --without-statedir was given. if test "${with_statedir+set}" = set; then withval="$with_statedir" @@ -1454,7 +1454,7 @@ else knfsd_cv_tcp_wrapper=no fi rm -f conftest* - LDFLAGS="$old_LDFLAGS" + LIBS="$old_LIBS" fi echo "$ac_t""$knfsd_cv_tcp_wrapper" 1>&6 @@ -1665,6 +1665,7 @@ s%@oldincludedir@%$oldincludedir%g s%@infodir@%$infodir%g s%@mandir@%$mandir%g s%@VERSION@%$VERSION%g +s%@RELEASE@%$RELEASE%g s%@statedir@%$statedir%g s%@enable_nfsv3@%$enable_nfsv3%g s%@kprefix@%$kprefix%g