aboutsummaryrefslogtreecommitdiffstats
path: root/macros/autogen.sh
diff options
context:
space:
mode:
authorKST 1998 Changwoo Ryu <cwryu@adam.kaist.ac.kr>1998-02-14 16:49:50 +0800
committerChangwoo Ryu <cwryu@src.gnome.org>1998-02-14 16:49:50 +0800
commit64d837df85c8d86a7863ef78cbd068fc048ca68d (patch)
tree281c121ba1111410a7d07cfc00efb6fcceb25a19 /macros/autogen.sh
parent93cd02600ba0bfde7ed2b53236e1840f095c2807 (diff)
downloadgsoc2013-evolution-64d837df85c8d86a7863ef78cbd068fc048ca68d.tar.gz
gsoc2013-evolution-64d837df85c8d86a7863ef78cbd068fc048ca68d.tar.zst
gsoc2013-evolution-64d837df85c8d86a7863ef78cbd068fc048ca68d.zip
multilple aclocal -I directories.
Sat Feb 14 17:41:28 KST 1998 Changwoo Ryu <cwryu@adam.kaist.ac.kr> * autogen.sh: multilple aclocal -I directories. svn path=/trunk/; revision=32
Diffstat (limited to 'macros/autogen.sh')
-rw-r--r--macros/autogen.sh12
1 files changed, 9 insertions, 3 deletions
diff --git a/macros/autogen.sh b/macros/autogen.sh
index c40ccee978..1776de2ca5 100644
--- a/macros/autogen.sh
+++ b/macros/autogen.sh
@@ -65,13 +65,19 @@ fi
for j in `find $srcdir -name configure.in -print`
do
i=`dirname $j`
- macros=`sed -n -e 's,AM_ACLOCAL_INCLUDE(\(.*\)),\1,gp' < $j`
+ macrodirs=`sed -n -e 's,AM_ACLOCAL_INCLUDE(\(.*\)),\1,gp' < $j`
+ echo "hahaha $macrodirs"
echo processing $i
## debug
- test -n "$macros" && echo \`aclocal\' will also look in \`$macros\'
+ test -n "$macrodirs" && echo \`aclocal\' will also look in \`$macrodirs\'
(cd $i; \
+ aclocalinclude=""; \
+ for k in $macrodirs; do \
+ if test -d $k; then aclocalinclude="$aclocalinclude -I $k"; \
+ else echo "**Warning**: No such directory \`$k'. Ignored."; fi \
+ done; \
libtoolize --copy --force; \
- if test -n "$macros"; then aclocal -I $macros; else aclocal; fi; \
+ aclocal $aclocalinclude; \
autoheader; automake --add-missing --gnu; autoheader; autoconf)
done