Skip to content

Commit 641de2d

Browse files
authored
autoreconf and use abs path
1 parent d62b9ad commit 641de2d

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

jni/tomcat-native.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ else
1111
fi
1212

1313
ant_version=1.10.7
14+
function autoauto() {
15+
autoupdate
16+
autoreconf --install
17+
autoupdate
18+
autoconf
19+
}
1420

1521
pushd tomcat-native
1622
sudo $III install -y apr apr-devel || true # usally not preinstalled
@@ -45,7 +51,9 @@ pushd tomcat-native
4551
D="-Dbase.path=`pwd` -Dbase-maven.loc=https://repo.maven.apache.org/maven2"
4652
$ANT_HOME/bin/ant $D
4753
pushd native
48-
sh buildconf --with-apr=../../$APR
54+
autoauto
55+
sh buildconf --with-apr=`readlink -f ../../$APR`
56+
autoauto
4957
./configure
5058
make
5159
popd

0 commit comments

Comments
 (0)