summaryrefslogtreecommitdiff
path: root/net/nast/files/patch-configure
blob: 362b46b4365a3b61c39a5e12cc583683b2efa5af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
--- configure.orig	Wed Apr 23 15:02:33 2003
+++ configure	Wed Apr 23 15:08:08 2003
@@ -252,7 +252,7 @@
 #
 # Initializations.
 #
-ac_default_prefix=/usr/local
+ac_default_prefix=${PREFIX}
 ac_config_libobj_dir=.
 cross_compiling=no
 subdirs=
@@ -273,7 +273,7 @@
 PACKAGE_BUGREPORT='embyte@madlab.it'
 
 ac_unique_file="main.c"
-ac_default_prefix=/usr/local
+ac_default_prefix=${PREFIX}
 # Factoring default headers for most tests.
 ac_includes_default="\
 #include <stdio.h>
@@ -320,11 +320,11 @@
 # The variables have the same names as the options, with
 # dashes changed to underlines.
 cache_file=/dev/null
-exec_prefix=NONE
+exec_prefix=${PREFIX}
 no_create=
 no_recursion=
-prefix=NONE
-program_prefix=NONE
+prefix=${PREFIX}
+program_prefix=${PREFIX}
 program_suffix=NONE
 program_transform_name=s,x,x,
 silent=
@@ -1157,7 +1157,7 @@
 # Let the site file select an alternate cache file if it wants to.
 # Prefer explicitly selected file to automatically selected ones.
 if test -z "$CONFIG_SITE"; then
-  if test "x$prefix" != xNONE; then
+  if test "x$prefix" != x${PREFIX}; 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"
@@ -1430,17 +1430,6 @@
 echo "$as_me: WARNING: Your OS seems to be officially unsupported yet" >&2;}
 	;;
 esac
-
-
-################
-# Setup prefix #
-################
-
-
-if test "$prefix" = "NONE"; then
-   prefix="/usr/local"
-   fi
-
 
 #######################
 # Checks for compiler #