Recovered from cvs revision 2007-05-25 16:55:00

This commit is contained in:
hyung-hwan 2007-05-26 01:55:00 +00:00
parent e838b2bd47
commit 9c128e5a92

View File

@ -1,10 +1,10 @@
# #
# $Id: configure.ac,v 1.4 2007/05/25 07:30:26 bacon Exp $ # $Id: configure.ac,v 1.5 2007/05/25 07:54:15 bacon Exp $
# #
AC_PREREQ(2.53) AC_PREREQ(2.53)
AC_INIT([ase], [deb-0.1.0]) AC_INIT([ase], [deb-0.1.0])
AC_REVISION([$Revision: 1.4 $]) AC_REVISION([$Revision: 1.5 $])
AC_CONFIG_HEADER([cmn/conf_unx.h]) AC_CONFIG_HEADER([cmn/conf_unx.h])
AC_CONFIG_AUX_DIR(config) AC_CONFIG_AUX_DIR(config)
@ -150,7 +150,7 @@ then
JAVA_DIR="$REAL_JAVAC_PATH" JAVA_DIR="$REAL_JAVAC_PATH"
while true while true
do do
JAVA_DIR=`echo "$JAVA_DIR" | sed -e 's/\/\/*/\//g' -e 's/\/[^/]*$//'` JAVA_DIR=`echo "$JAVA_DIR" | sed -e 's://*:/:g' -e 's:/[[^/]]*$::'`
if test "$JAVA_DIR" = "" if test "$JAVA_DIR" = ""
then then
break break
@ -159,7 +159,6 @@ then
AC_MSG_CHECKING($JAVA_DIR/etc/javavms) AC_MSG_CHECKING($JAVA_DIR/etc/javavms)
if test -f "$JAVA_DIR/etc/javavms" if test -f "$JAVA_DIR/etc/javavms"
then then
AC_MSG_RESULT(yes)
# takes the first jvm configured # takes the first jvm configured
CUR_JAVAC_PATH=`cat $JAVA_DIR/etc/javavms | head -1` CUR_JAVAC_PATH=`cat $JAVA_DIR/etc/javavms | head -1`
AC_MSG_RESULT($CUR_JAVAC_PATH) AC_MSG_RESULT($CUR_JAVAC_PATH)
@ -175,7 +174,7 @@ then
while true while true
do do
JAVA_DIR=`echo "$JAVA_DIR" | sed -e 's/\/\/*/\//g' -e 's/\/[^/]*$//'` JAVA_DIR=`echo "$JAVA_DIR" | sed -e 's://*:/:g' -e 's:/[[^/]]*$::'`
if test "$JAVA_DIR" = "" if test "$JAVA_DIR" = ""
then then
break break
@ -197,7 +196,7 @@ then
JNI_MD_H=`find "$i" -name jni_md.h -print` JNI_MD_H=`find "$i" -name jni_md.h -print`
if test "$JNI_MD_H" != "" if test "$JNI_MD_H" != ""
then then
tmp=`echo "$JNI_MD_H" | sed -e 's/\/\/*/\//g' -e 's/\/[^/]*$//'` tmp=`echo "$JNI_MD_H" | sed -e 's://*:/:g' -e 's:/[[^/]]*$::'`
JNI_MD_INCLUDE_DIRS="$JNI_MD_INCLUDE_DIRS $tmp" JNI_MD_INCLUDE_DIRS="$JNI_MD_INCLUDE_DIRS $tmp"
fi fi
done done