diff --git a/scripts/configure b/scripts/configure index a8812db9..7dcf9d4b 100755 --- a/scripts/configure +++ b/scripts/configure @@ -672,8 +672,6 @@ X_PRE_LIBS X_CFLAGS XMKMF PYTHON3 -GUNZIP -GZIP CSH GCORE EGREP @@ -5372,103 +5370,6 @@ if test "x${CSH}" = "xno"; then as_fn_error $? "cannot find /bin/csh---cannot compile!" "$LINENO" 5 fi -# Extract the first word of "gzip", so it can be a program name with args. -set dummy gzip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_GZIP+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $GZIP in - [\\/]* | ?:[\\/]*) - ac_cv_path_GZIP="$GZIP" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_GZIP="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - test -z "$ac_cv_path_GZIP" && ac_cv_path_GZIP="no" - ;; -esac -fi -GZIP=$ac_cv_path_GZIP -if test -n "$GZIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GZIP" >&5 -$as_echo "$GZIP" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -if test "x${GZIP}" = "xno"; then - as_fn_error $? "cannot find gzip---will not be able to compress large files" "$LINENO" 5 -else - $as_echo "#define HAVE_GZIP 1" >>confdefs.h - -fi - -# Extract the first word of "gunzip", so it can be a program name with args. -set dummy gunzip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_GUNZIP+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $GUNZIP in - [\\/]* | ?:[\\/]*) - ac_cv_path_GUNZIP="$GUNZIP" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_GUNZIP="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - test -z "$ac_cv_path_GUNZIP" && ac_cv_path_GUNZIP="no" - ;; -esac -fi -GUNZIP=$ac_cv_path_GUNZIP -if test -n "$GUNZIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GUNZIP" >&5 -$as_echo "$GUNZIP" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - -if test "x${GUNZIP}" = "xno"; then - as_fn_error $? "cannot find gunzip---will not be able to automatically uncompress files" "$LINENO" 5 -else - $as_echo "#define HAVE_GUNZIP 1" >>confdefs.h - -fi - - # Extract the first word of "python3", so it can be a program name with args. set dummy python3; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 diff --git a/scripts/configure.in b/scripts/configure.in index 47422b6b..837a7752 100644 --- a/scripts/configure.in +++ b/scripts/configure.in @@ -288,23 +288,6 @@ if test "x${CSH}" = "xno"; then AC_MSG_ERROR([cannot find /bin/csh---cannot compile!]) fi -dnl gzip and gunzip are used for file compression and uncompression of -dnl large files (e.g., GDS) -AC_PATH_PROG([GZIP], [gzip], [no]) -if test "x${GZIP}" = "xno"; then - AC_MSG_ERROR([cannot find gzip---will not be able to compress large files]) -else - AC_DEFINE(HAVE_GZIP) -fi - -AC_PATH_PROG([GUNZIP], [gunzip], [no]) -if test "x${GUNZIP}" = "xno"; then - AC_MSG_ERROR([cannot find gunzip---will not be able to automatically uncompress files]) -else - AC_DEFINE(HAVE_GUNZIP) -fi - - dnl Python3 is preferred for running the preprocessor script dnl but CPP can be used instead. AC_PATH_PROG([PYTHON3], [python3], [no])