aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure
diff options
context:
space:
mode:
authorNicolas Roche <roche@adacore.com>2017-10-20 09:29:35 +0000
committerEric Botcazou <ebotcazou@adacore.com>2017-10-20 09:29:35 +0000
commit6eb1b21d1daf364d9b403018e6c2564527aab657 (patch)
tree0051d6bd812709382c7304df65b5a22032766086 /gcc/configure
parentd12573f0d49d2401b7cb09e96eae0202f579aebf (diff)
* configure.ac (ACX_PROG_GNAT): Append "libgnat" to the include dir.
* configure: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@253928 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure')
-rwxr-xr-xgcc/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/configure b/gcc/configure
index 13f97cd3663..aa5937df84c 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -4987,7 +4987,7 @@ acx_cv_cc_gcc_supports_ada=no
# Other compilers, like HP Tru64 UNIX cc, exit successfully when
# given a .adb file, but produce no object file. So we must check
# if an object file was really produced to guard against this.
-errors=`(${CC} -I"$srcdir"/ada -c conftest.adb) 2>&1 || echo failure`
+errors=`(${CC} -I"$srcdir"/ada/libgnat -c conftest.adb) 2>&1 || echo failure`
if test x"$errors" = x && test -f conftest.$ac_objext; then
acx_cv_cc_gcc_supports_ada=yes
fi