]> arthur.barton.de Git - bup.git/blobdiff - config/configure
Revert "Write the system ARG_MAX to an autogenerated config.py..."
[bup.git] / config / configure
index e5f70dc10f6fbacf12ab4d6568a7bc5581c6e2ba..d6156d25b565fd77f4301ae5f02d1280e4fb0ff5 100755 (executable)
@@ -74,22 +74,4 @@ AC_CHECK_FIELD stat st_atimensec sys/types.h sys/stat.h unistd.h
 AC_CHECK_FIELD stat st_mtimensec sys/types.h sys/stat.h unistd.h
 AC_CHECK_FIELD stat st_ctimensec sys/types.h sys/stat.h unistd.h
 
-cat > ../lib/bup/config.py <<EOF
-# Automatically generated file.  Edit config/configure instead of this file.
-EOF
-
-LOGN 'checking for ARG_MAX'
-val_arg_max="$(getconf ARG_MAX)"
-if test $? -ne 0; then
-    AC_FAIL "ERROR: getconf ARG_MAX failed."
-else
-    if ! echo "$val_arg_max" | grep -qE '^[0-9]+$'; then
-        AC_FAIL "ERROR: ARG_MAX does not appear to be an integer: $val_arg_max"
-    fi
-    if ! echo "arg_max = $val_arg_max" >> ../lib/bup/config.py; then
-        AC_FAIL "ERROR: could not write to config.py."
-    fi
-    LOG " ($val_arg_max)"
-fi
-
 AC_OUTPUT config.vars