autoconf: Move site configuration section earlier in configure.ac
Move site configuration section, i.e. --with-PACKAGE[=ARG] and --without-PACKAGE, --enable-FEATURE[=ARG] and --disable-FEATURE options to the beginning of configure.ac file, just after definitions of macros. Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Jakub Narebski committed
Aug 3, 2006 at 00:38 UTC
c4b1b1401cedefe480e32ceccd4ed678f9409e89
1 file changed
+50
-50
configure.ac
+50
-50
@@ -48,6 +48,56 @@ fi; \
48
]) # GIT_CONF_APPEND_PATH
49
50
51
+## Site configuration
52
+## --with-PACKAGE[=ARG] and --without-PACKAGE
53
+#
54
+# Define NO_SVN_TESTS if you want to skip time-consuming SVN interopability
55
+# tests. These tests take up a significant amount of the total test time
56
+# but are not needed unless you plan to talk to SVN repos.
57
+#
58
+# Define MOZILLA_SHA1 environment variable when running make to make use of
59
+# a bundled SHA1 routine coming from Mozilla. It is GPL'd and should be fast
60
+# on non-x86 architectures (e.g. PowerPC), while the OpenSSL version (default
61
+# choice) has very fast version optimized for i586.
62
+#
63
+# Define PPC_SHA1 environment variable when running make to make use of
64
+# a bundled SHA1 routine optimized for PowerPC.
65
+#
66
+# Define ARM_SHA1 environment variable when running make to make use of
67
+# a bundled SHA1 routine optimized for ARM.
68
+#
69
+# Define NO_OPENSSL environment variable if you do not have OpenSSL.
70
+# This also implies MOZILLA_SHA1.
71
+#
72
+# Define NO_CURL if you do not have curl installed. git-http-pull and
73
+# git-http-push are not built, and you cannot use http:// and https://
74
+# transports.
75
+#
76
+# Define CURLDIR=/foo/bar if your curl header and library files are in
77
+# /foo/bar/include and /foo/bar/lib directories.
78
+#
79
+# Define NO_EXPAT if you do not have expat installed. git-http-push is
80
+# not built, and you cannot push using http:// and https:// transports.
81
+#
82
+# Define NO_MMAP if you want to avoid mmap.
83
+#
84
+# Define NO_PYTHON if you want to loose all benefits of the recursive merge.
85
+#
86
+## --enable-FEATURE[=ARG] and --disable-FEATURE
87
+# Define COLLISION_CHECK below if you believe that SHA1's
88
+# 1461501637330902918203684832716283019655932542976 hashes do not give you
89
+# sufficient guarantee that no collisions between objects will ever happen.
90
+#
91
+# Define USE_NSEC below if you want git to care about sub-second file mtimes
92
+# and ctimes. Note that you need recent glibc (at least 2.2.4) for this, and
93
+# it will BREAK YOUR LOCAL DIFFS! show-diff and anything using it will likely
94
+# randomly break unless your underlying filesystem supports those sub-second
95
+# times (my ext3 doesn't).
96
+#
97
+# Define USE_STDEV below if you want git to care about the underlying device
98
+# change being considered an inode change from the update-cache perspective.
99
+
100
+
101
## Checks for programs.
102
AC_MSG_NOTICE([CHECKS for programs])
103
#
@@ -155,56 +205,6 @@ AC_CHECK_FUNC(setenv,[],
205
# a missing newline at the end of the file.
206
207
158
-## Site configuration
159
-## --with-PACKAGE[=ARG] and --without-PACKAGE
160
-#
161
-# Define NO_SVN_TESTS if you want to skip time-consuming SVN interopability
162
-# tests. These tests take up a significant amount of the total test time
163
-# but are not needed unless you plan to talk to SVN repos.
164
-#
165
-# Define MOZILLA_SHA1 environment variable when running make to make use of
166
-# a bundled SHA1 routine coming from Mozilla. It is GPL'd and should be fast
167
-# on non-x86 architectures (e.g. PowerPC), while the OpenSSL version (default
168
-# choice) has very fast version optimized for i586.
169
-#
170
-# Define PPC_SHA1 environment variable when running make to make use of
171
-# a bundled SHA1 routine optimized for PowerPC.
172
-#
173
-# Define ARM_SHA1 environment variable when running make to make use of
174
-# a bundled SHA1 routine optimized for ARM.
175
-#
176
-# Define NO_OPENSSL environment variable if you do not have OpenSSL.
177
-# This also implies MOZILLA_SHA1.
178
-#
179
-# Define NO_CURL if you do not have curl installed. git-http-pull and
180
-# git-http-push are not built, and you cannot use http:// and https://
181
-# transports.
182
-#
183
-# Define CURLDIR=/foo/bar if your curl header and library files are in
184
-# /foo/bar/include and /foo/bar/lib directories.
185
-#
186
-# Define NO_EXPAT if you do not have expat installed. git-http-push is
187
-# not built, and you cannot push using http:// and https:// transports.
188
-#
189
-# Define NO_MMAP if you want to avoid mmap.
190
-#
191
-# Define NO_PYTHON if you want to loose all benefits of the recursive merge.
192
-#
193
-## --enable-FEATURE[=ARG] and --disable-FEATURE
194
-# Define COLLISION_CHECK below if you believe that SHA1's
195
-# 1461501637330902918203684832716283019655932542976 hashes do not give you
196
-# sufficient guarantee that no collisions between objects will ever happen.
197
-#
198
-# Define USE_NSEC below if you want git to care about sub-second file mtimes
199
-# and ctimes. Note that you need recent glibc (at least 2.2.4) for this, and
200
-# it will BREAK YOUR LOCAL DIFFS! show-diff and anything using it will likely
201
-# randomly break unless your underlying filesystem supports those sub-second
202
-# times (my ext3 doesn't).
203
-#
204
-# Define USE_STDEV below if you want git to care about the underlying device
205
-# change being considered an inode change from the update-cache perspective.
206
-
207
-
208
## Output files
209
AC_CONFIG_FILES(["${config_file}":"${config_in}":"${config_append}"])
210
AC_OUTPUT