X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/12458878c26f738a76883c67b02a89c617036d9b..6a46226b3a4ee1c7ab1a4929c8dddeb70c6c5473:/configure.in diff --git a/configure.in b/configure.in index d5c626d3..5f72a312 100644 --- a/configure.in +++ b/configure.in @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT(byteorder.h) AC_CONFIG_HEADER(config.h) -AC_PREREQ(2.12) +AC_PREREQ(2.52) LDFLAGS=${LDFLAGS-""} @@ -28,19 +28,12 @@ fi CFLAGS="$CFLAGS -DHAVE_CONFIG_H" -# look for getconf early as this affects just about everything -AC_CHECK_PROG(HAVE_GETCONF, getconf, "yes", "no") -if test $HAVE_GETCONF = "yes"; then - CFLAGS=$CFLAGS" "`getconf LFS_CFLAGS 2> /dev/null` - LDFLAGS=$LDFLAGS" "`getconf LFS_LDFLAGS 2> /dev/null` -fi - AC_ARG_WITH(included-popt, [ --with-included-popt use bundled popt library, not from system]) AC_ARG_WITH(rsync-path, [ --with-rsync-path=PATH set default --rsync-path to PATH (default: \"rsync\")], - [ RSYNC_PATH="$with_rsync_name" ], + [ RSYNC_PATH="$with_rsync_path" ], [ RSYNC_PATH="rsync" ]) AC_DEFINE_UNQUOTED(RSYNC_PATH, "$RSYNC_PATH", [ ]) @@ -347,4 +340,4 @@ AC_SUBST(OBJ_RESTORE) AC_SUBST(CC_SHOBJ_FLAG) AC_SUBST(BUILD_POPT) -AC_OUTPUT(Makefile lib/dummy zlib/dummy) +AC_OUTPUT(Makefile lib/dummy zlib/dummy shconfig)