Skip to content

Commit

Permalink
Removed the unused former checks for system "gzip" and "gunzip" from
Browse files Browse the repository at this point in the history
the configuration script.
  • Loading branch information
RTimothyEdwards committed May 10, 2022
1 parent 371018a commit 250d811
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 116 deletions.
99 changes: 0 additions & 99 deletions scripts/configure
Original file line number Diff line number Diff line change
Expand Up @@ -672,8 +672,6 @@ X_PRE_LIBS
X_CFLAGS
XMKMF
PYTHON3
GUNZIP
GZIP
CSH
GCORE
EGREP
Expand Down Expand Up @@ -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
Expand Down
17 changes: 0 additions & 17 deletions scripts/configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit 250d811

Please sign in to comment.