Commit 34e598d8 by Tom Tromey Committed by Tom Tromey

re PR java/28024 (libjava build failure on Solaris 2.8 (sun4u))

	PR java/28024:
	* aclocal.m4, configure: Rebuilt.
	* m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
	* configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).

From-SVN: r114639
parent ba1304a3
2006-06-14 Tom Tromey <tromey@redhat.com>
PR java/28024:
* aclocal.m4, configure: Rebuilt.
* m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
* configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).
2006-06-09 Tom Tromey <tromey@redhat.com> 2006-06-09 Tom Tromey <tromey@redhat.com>
PR classpath/23863: PR classpath/23863:
......
...@@ -468,27 +468,6 @@ AC_DEFUN([AM_PROG_INSTALL_SH], ...@@ -468,27 +468,6 @@ AC_DEFUN([AM_PROG_INSTALL_SH],
install_sh=${install_sh-"$am_aux_dir/install-sh"} install_sh=${install_sh-"$am_aux_dir/install-sh"}
AC_SUBST(install_sh)]) AC_SUBST(install_sh)])
# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 2
# Check whether the underlying file-system supports filenames
# with a leading dot. For instance MS-DOS doesn't.
AC_DEFUN([AM_SET_LEADING_DOT],
[rm -rf .tst 2>/dev/null
mkdir .tst 2>/dev/null
if test -d .tst; then
am__leading_dot=.
else
am__leading_dot=_
fi
rmdir .tst 2>/dev/null
AC_SUBST([am__leading_dot])])
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
# From Jim Meyering # From Jim Meyering
...@@ -894,6 +873,8 @@ AC_SUBST([am__tar]) ...@@ -894,6 +873,8 @@ AC_SUBST([am__tar])
AC_SUBST([am__untar]) AC_SUBST([am__untar])
]) # _AM_PROG_TAR ]) # _AM_PROG_TAR
m4_include([../../config/depstand.m4])
m4_include([../../config/lead-dot.m4])
m4_include([../../libtool.m4]) m4_include([../../libtool.m4])
m4_include([m4/acattribute.m4]) m4_include([m4/acattribute.m4])
m4_include([m4/accross.m4]) m4_include([m4/accross.m4])
......
...@@ -10007,7 +10007,7 @@ ac_x_header_dirs=' ...@@ -10007,7 +10007,7 @@ ac_x_header_dirs='
/usr/openwin/share/include' /usr/openwin/share/include'
if test "$ac_x_includes" = no; then if test "$ac_x_includes" = no; then
# Guess where to find include files, by looking for Xlib.h. # Guess where to find include files, by looking for Intrinsic.h.
# First, try using that file with no special directory specified. # First, try using that file with no special directory specified.
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */ /* confdefs.h. */
...@@ -10015,7 +10015,7 @@ _ACEOF ...@@ -10015,7 +10015,7 @@ _ACEOF
cat confdefs.h >>conftest.$ac_ext cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ /* end confdefs.h. */
#include <X11/Xlib.h> #include <X11/Intrinsic.h>
_ACEOF _ACEOF
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
...@@ -10042,7 +10042,7 @@ else ...@@ -10042,7 +10042,7 @@ else
sed 's/^/| /' conftest.$ac_ext >&5 sed 's/^/| /' conftest.$ac_ext >&5
for ac_dir in $ac_x_header_dirs; do for ac_dir in $ac_x_header_dirs; do
if test -r "$ac_dir/X11/Xlib.h"; then if test -r "$ac_dir/X11/Intrinsic.h"; then
ac_x_includes=$ac_dir ac_x_includes=$ac_dir
break break
fi fi
...@@ -10063,11 +10063,11 @@ _ACEOF ...@@ -10063,11 +10063,11 @@ _ACEOF
cat confdefs.h >>conftest.$ac_ext cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ /* end confdefs.h. */
#include <X11/Xlib.h> #include <X11/Intrinsic.h>
int int
main () main ()
{ {
XrmInitialize () XtMalloc (0)
; ;
return 0; return 0;
} }
...@@ -11929,7 +11929,7 @@ echo "${ECHO_T}$QT_LIBS" >&6 ...@@ -11929,7 +11929,7 @@ echo "${ECHO_T}$QT_LIBS" >&6
fi fi
if test "x$HAVE_QT4" = "xyes"; then if test "x$HAVE_QT4" = "xyes"; then
QT_INCLUDE_DIR=$($PKG_CONFIG --variable=includedir QtGui) QT_INCLUDE_DIR=`$PKG_CONFIG --variable=includedir QtGui`
EXTRA_QT_INCLUDE_DIR="$QT_INCLUDE_DIR/Qt" EXTRA_QT_INCLUDE_DIR="$QT_INCLUDE_DIR/Qt"
as_ac_File=`echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh` as_ac_File=`echo "ac_cv_file_$QT_INCLUDE_DIR/QWidget" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $QT_INCLUDE_DIR/QWidget" >&5 echo "$as_me:$LINENO: checking for $QT_INCLUDE_DIR/QWidget" >&5
...@@ -15159,7 +15159,7 @@ echo "$as_me: error: \"jay executable not found\"" >&2;} ...@@ -15159,7 +15159,7 @@ echo "$as_me: error: \"jay executable not found\"" >&2;}
{ (exit 1); exit 1; }; }; { (exit 1); exit 1; }; };
fi fi
else else
JAY_DIR_PATH=$(dirname "${withval}") JAY_DIR_PATH=`dirname "${withval}"`
JAY="${withval}" JAY="${withval}"
fi fi
...@@ -15185,8 +15185,8 @@ echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6 ...@@ -15185,8 +15185,8 @@ echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
if test `eval echo '${'$as_ac_File'}'` = yes; then if test `eval echo '${'$as_ac_File'}'` = yes; then
: :
else else
{ { echo "$as_me:$LINENO: error: \"Expected skeleton file in $(dirname ${withval})\"" >&5 { { echo "$as_me:$LINENO: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&5
echo "$as_me: error: \"Expected skeleton file in $(dirname ${withval})\"" >&2;} echo "$as_me: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
fi fi
......
...@@ -438,7 +438,7 @@ if test "x${COMPILE_JNI}" = xyes; then ...@@ -438,7 +438,7 @@ if test "x${COMPILE_JNI}" = xyes; then
if test "x$HAVE_QT4" = "xyes"; then if test "x$HAVE_QT4" = "xyes"; then
dnl Check needed because in some cases the QtGui includedir dnl Check needed because in some cases the QtGui includedir
dnl doesn't contain the subsystem dir. dnl doesn't contain the subsystem dir.
QT_INCLUDE_DIR=$($PKG_CONFIG --variable=includedir QtGui) QT_INCLUDE_DIR=`$PKG_CONFIG --variable=includedir QtGui`
EXTRA_QT_INCLUDE_DIR="$QT_INCLUDE_DIR/Qt" EXTRA_QT_INCLUDE_DIR="$QT_INCLUDE_DIR/Qt"
AC_CHECK_FILE([$QT_INCLUDE_DIR/QWidget], AC_CHECK_FILE([$QT_INCLUDE_DIR/QWidget],
AC_MSG_NOTICE([No extra QT_INCLUDE_DIR needed]), AC_MSG_NOTICE([No extra QT_INCLUDE_DIR needed]),
......
...@@ -409,13 +409,13 @@ AC_DEFUN([REGEN_WITH_JAY], ...@@ -409,13 +409,13 @@ AC_DEFUN([REGEN_WITH_JAY],
AC_MSG_ERROR("jay executable not found"); AC_MSG_ERROR("jay executable not found");
fi fi
else else
JAY_DIR_PATH=$(dirname "${withval}") JAY_DIR_PATH=`dirname "${withval}"`
JAY="${withval}" JAY="${withval}"
AC_SUBST(JAY) AC_SUBST(JAY)
fi fi
JAY_SKELETON="${JAY_DIR_PATH}/skeleton" JAY_SKELETON="${JAY_DIR_PATH}/skeleton"
AC_CHECK_FILE(${JAY_SKELETON}, AC_SUBST(JAY_SKELETON), AC_CHECK_FILE(${JAY_SKELETON}, AC_SUBST(JAY_SKELETON),
AC_MSG_ERROR("Expected skeleton file in $(dirname ${withval})")) AC_MSG_ERROR("Expected skeleton file in `dirname ${withval}`"))
JAY_FOUND=yes JAY_FOUND=yes
], ],
[ [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment