aboutsummaryrefslogtreecommitdiff
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
commita6be7fc6d669f185d18050245e61bfb6dfb45ce5 (patch)
tree3df57c639e1b5cafc603181cff066b6c85c9d1d1 /configure
parent0125cdf20c1606b4442d46d57848f98537dc7e06 (diff)
downloadgdb-a6be7fc6d669f185d18050245e61bfb6dfb45ce5.zip
gdb-a6be7fc6d669f185d18050245e61bfb6dfb45ce5.tar.gz
gdb-a6be7fc6d669f185d18050245e61bfb6dfb45ce5.tar.bz2
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 58910e0..80edfe1 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