summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-02-25 10:47:07 +0000
committerNick Clifton <nickc@redhat.com>2003-02-25 10:47:07 +0000
commit138e9a701864d74e5a2ac918036fa7263040f85f (patch)
tree0fa28d8818dd12d8f64214b618a1cc1fb0ada724 /configure
parent186e2af56c53c2d7bb22a1110443a1244ff02651 (diff)
downloadgdb-138e9a701864d74e5a2ac918036fa7263040f85f.tar.gz
Remove site-file support - it is obsolete.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure21
1 files changed, 5 insertions, 16 deletions
diff --git a/configure b/configure
index 58910e06b68..80edfe15c7e 100755
--- a/configure
+++ b/configure
@@ -36,7 +36,6 @@ program_suffix=NONE
program_transform_name=s,x,x,
silent=
site=
-sitefile=
srcdir=
target=NONE
verbose=
@@ -151,7 +150,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
@@ -322,11 +320,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=*)
@@ -492,16 +485,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