We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd03a7a commit 7d9c4daCopy full SHA for 7d9c4da
acconfig.h renamed to acconfig.h.in
scripts/preconfig
@@ -3,5 +3,23 @@
3
# $Id$
4
5
makefiles=`echo ext/*/Makefile.am | sed -e 's/\.am//g'`
6
-rm -f configure.in
7
-sed -e "s#@@EXT_MAKEFILES@@#$makefiles#" configure.in.in > configure.in
+sed -e "s#@@EXT_MAKEFILES@@#$makefiles#" configure.in.in > configure.in.new
+if ! cmp configure.in configure.in.new 2>/dev/null; then
8
+ mv configure.in.new configure.in
9
+else
10
+ rm -f configure.in.new
11
+fi
12
+
13
+cat acconfig.h.in > acconfig.h.new
14
+confighfiles=`echo ext/*/config.h.stub`
15
+if test "$confighfiles" != "ext/*/config.h.stub"; then
16
+ for file in $confighfiles; do
17
+ cat $file >> acconfig.h.new
18
+ done
19
20
+if ! cmp acconfig.h acconfig.h.new 2>/dev/null; then
21
+ mv acconfig.h.new acconfig.h
22
+ autoheader
23
24
+ rm -f acconfig.h.new
25
0 commit comments