This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] Fix configure check


Sorry for any inconvenience!  If you don't have bfd.h in /usr/include,
you'll need this patch - now checked in.

-- 
Daniel Jacobowitz
CodeSourcery

2007-06-19  Daniel Jacobowitz  <dan@codesourcery.com>

	* configure.ac: Do not use ${objdir}.
	* configure: Regenerated.

Index: configure
===================================================================
RCS file: /cvs/src/src/gdb/configure,v
retrieving revision 1.226
diff -u -p -r1.226 configure
--- configure	18 Jun 2007 15:46:37 -0000	1.226
+++ configure	19 Jun 2007 13:34:55 -0000
@@ -21801,7 +21801,7 @@ esac
 OLD_CFLAGS=$CFLAGS
 OLD_LDFLAGS=$LDFLAGS
 OLD_LIBS=$LIBS
-CFLAGS="$CFLAGS -I${srcdir}/../include -I${objdir}/../bfd -I${srcdir}/../bfd"
+CFLAGS="$CFLAGS -I${srcdir}/../include -I../bfd -I${srcdir}/../bfd"
 LDFLAGS="$LDFLAGS -L../bfd -L../libiberty"
 LIBS="$LIBS -lbfd -liberty"
 echo "$as_me:$LINENO: checking for ELF support in BFD" >&5
Index: configure.ac
===================================================================
RCS file: /cvs/src/src/gdb/configure.ac,v
retrieving revision 1.47
diff -u -p -r1.47 configure.ac
--- configure.ac	18 Jun 2007 15:46:38 -0000	1.47
+++ configure.ac	19 Jun 2007 13:34:55 -0000
@@ -1259,7 +1259,7 @@ AC_SUBST(WIN32LIBS)
 OLD_CFLAGS=$CFLAGS
 OLD_LDFLAGS=$LDFLAGS
 OLD_LIBS=$LIBS
-CFLAGS="$CFLAGS -I${srcdir}/../include -I${objdir}/../bfd -I${srcdir}/../bfd"
+CFLAGS="$CFLAGS -I${srcdir}/../include -I../bfd -I${srcdir}/../bfd"
 LDFLAGS="$LDFLAGS -L../bfd -L../libiberty"
 LIBS="$LIBS -lbfd -liberty"
 AC_CACHE_CHECK([for ELF support in BFD], gdb_cv_var_elf,


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]