aboutsummaryrefslogtreecommitdiff
path: root/libiberty/configure.ac
AgeCommit message (Collapse)AuthorFilesLines
2016-11-18libiberty: Add -Wshadow=local to warning flags (if supported).Mark Wielaard1-1/+2
libiberty/ChangeLog: * configure.ac (ac_libiberty_warn_cflags): Add -Wshadow=local. * configure: Regenerated.
2015-11-09Configury changes for obstack optimizationAlan Modra1-0/+1
Provides defines used to determine whether glibc obstacks are compatible. Generally speaking, 32-bit targets won't need to use obstack.o from libiberty if glibc is used, while 64-bit targets will, until glibc gets the new obstack code. libiberty/ * configure.ac: Get size of size_t. * config.in: Regenerate. * configure: Regenerate.
2015-11-06Do not use libiberty's getpagesize on AndroidJoel Brobecker1-0/+6
Building libiberty on Android currently fails with the error message shown below. This was discovered by trying to build GDBserver for Android, which stopped building after libiberty became a GDBserver dependency. Here is the error message: [...]/getpagesize.c:64:1: error: redefinition of 'getpagesize' In file included from /[...]/getpagesize.c:34:0: /[...]/usr/include/unistd.h:171:23: note: previous definition of 'getpagesize' was here And looking at the definition, one can see that it defined as a static inline function... static __inline__ int getpagesize(void) { extern unsigned int __page_size; return __page_size; } ... which explains why the AC_CHECK_FUNCS test failed to detect the function, since there is no associated symbol to be linked in. This patch prevents getpagesize.c to be compiled in by hard-coding the fact that getpagesize is available on android hosts. libiberty/ChangeLog: * configure.ac: Set AC_CV_FUNC_GETPAGESIZE to "yes" on Android hosts. * configure: Regenerate.
2015-06-24Sync libiberty from GCC, replaying updates to configure scriptsIain Buclaw1-0/+1
2015-01-07Sync with gcc/libiberty.Richard Earnshaw1-0/+1
2014-11-17Sync libiberty from GCCJan-Benedict Glaw1-3/+11
2014-05-08PR sanitizer/56781 lto-plugin/ * Makefile.am (CFLAGS, LDFLAGS): Filter out ↵jakub1-0/+6
-fsanitize=address. (liblto_plugin_la_LIBADD, liblto_plugin_la_LDFLAGS, liblto_plugin_la_DEPENDENCIES): Prefer ../libiberty/noasan/libiberty.a over ../libiberty/pic/libiberty.a if the former exists. * Makefile.in: Regenerated. libiberty/ * maint-tool: Also emit rule for noasan/ subdirectory. * configure.ac (NOASANFLAG): Set and substitute. * Makefile.in: Regenerated. (NOASANFLAG): Set. (all, $(TARGETLIB), mostlyclean): Handle noasan subdir like pic subdir. (stamp-noasandir): New goal. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209476 138bc75d-0d04-0410-961f-82ee72b054a4
2014-01-06libiberty: fix --enable-install-libiberty flag [PR 56780]Mike Frysinger1-1/+0
Commit 199570 fixed the --disable-install-libiberty behavior, but it also added a bug where the enable path never works because the initial clear of target_header_dir wasn't deleted. So we end up initializing properly at the top only to reset it at the end all the time. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206367 138bc75d-0d04-0410-961f-82ee72b054a4
2013-10-16merge from gccDJ Delorie1-0/+6
2013-06-01merge from gccDJ Delorie1-21/+25
2012-10-10merge from gccDJ Delorie1-3/+5
2011-08-22merge from gccDJ Delorie1-21/+4
2011-07-22merge from gccDJ Delorie1-6/+6
2010-11-21merge from gccDJ Delorie1-11/+1
2010-11-04Use spawnve on cygwin.Richard Henderson1-6/+8
* configure.ac (AC_CHECK_HEADERS): Add process.h. (checkfuncs): Add dup3, spawnve, spawnvpe; sort the list. (AC_CHECK_FUNCS): Add dup3, spawnve, spawnvpe. * configure, config.in: Rebuild. * pex-unix.c [HAVE_SPAWNVE] (pex_unix_exec_child): New function. [HAVE_SPAWNVE] (save_and_install_fd, restore_fd): New functions.
2010-11-02merge from gccDJ Delorie1-0/+1
2010-10-07merge from gccDJ Delorie1-1/+1
2010-10-06merge from gccDJ Delorie1-1/+13
2010-09-09merge from gccDJ Delorie1-4/+4
2010-06-03merge from gccDJ Delorie1-2/+2
2010-01-05merge from gccDJ Delorie1-0/+1
2009-11-25 * configure.ac (AC_CHECK_FUNCS): Sort into alphabetical order.Ben Elliston1-9/+16
* configure: Regenerate.
2009-09-042009-09-04 Ozkan Sezer <sezeroz@gmail.com>H.J. Lu1-3/+3
PR target/39065 * configure.ac: Replace AC_CHECK_TYPE() for intptr_t and uintptr_t with AC_TYPE_INTPTR_T and AC_TYPE_UINTPTR_T. * config.in: Regenerated. * configure: Regenerated.
2009-09-032009-09-03 Ozkan Sezer <sezeroz@gmail.com>H.J. Lu1-0/+1
PR target/39065 * configure.ac: Also check for intptr_t. * config.h.in: Regenerated. * configure: Regenerated. * hashtab.c (hash_pointer): Cast the pointer argument to intptr_t instead of of long.
2009-08-24Sync from GCC: Update AC_PREREQ entries to 2.64.Ralf Wildenhues1-1/+1
/: * configure.ac (AC_PREREQ): Bump to 2.64. intl/: * configure.ac (AC_PREREQ): Bump to 2.64. libdecnumber/: * configure.ac (AC_PREREQ): Bump to 2.64. libiberty/: * configure.ac (AC_PREREQ): Bump to 2.64.
2009-04-14merge from gccDJ Delorie1-17/+22
2009-04-08merge from gccDJ Delorie1-1/+1
2009-03-27merge from gccDJ Delorie1-1/+2
2009-01-18 * configure.ac (funcs, vars, checkfuncs): Don't munge on Cygwin,Dave Korn1-23/+0
as it no longer shares libiberty object files. * configure: Regenerated.
2008-10-072008-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>H.J. Lu1-0/+1
* configure.ac: Call AC_SYS_LARGEFILE. * config.in: Regenerated. * configure: Likewise.
2008-10-07merge from gccDJ Delorie1-1/+0
2008-09-11bfd/Jan Kratochvil1-0/+1
Fix loading large elf64 binaries on 32bit hosts. * configure.in: Call AC_SYS_LARGEFILE. * config.in: Regenerate. * configure: Regenerate. binutils/ Fix loading large elf64 binaries on 32bit hosts. * configure.in: Call AC_SYS_LARGEFILE. * config.in: Regenerate. * configure: Regenerate. gas/ * configure.in: Call AC_SYS_LARGEFILE. * config.in: Regenerate. * configure: Regenerate. gprof/ * configure.in: Call AC_SYS_LARGEFILE. * gconfig.in: Regenerate. * configure: Regenerate. ld/ * configure.in: Call AC_SYS_LARGEFILE. * config.in: Regenerate. * configure: Regenerate. libiberty/ * configure.in: Call AC_SYS_LARGEFILE. * config.in: Regenerate. * configure: Regenerate.
2008-04-21merge from gccDJ Delorie1-0/+1
2008-03-272008-03-27 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-22/+20
* Makefile.tpl (PICFLAG, PICFLAG_FOR_TARGET): Remove. * Makefile.in: Regenerate. config: 2008-03-27 Paolo Bonzini <bonzini@gnu.org> * extensions.m4: New. 2008-03-27 Paolo Bonzini <bonzini@gnu.org> * mh-armpic: Remove. * mh-i370pic: Remove. * mh-m68kpic: Remove. * mh-ppcpic: Remove. * mh-sparcpic: Remove. * mh-ia64pic: Remove. * mh-papic: Remove. * mh-s390pic: Remove. * mh-x86pic: Remove. libiberty: 2008-03-27 Paolo Bonzini <bonzini@gnu.org> * configure.ac (frags): Don't set, use frag instead. (PICFLAG): Set here and substitute. * Makefile.in (PICFLAG): Substitute from autoconf. * configure: Regenerate.
2007-07-17merge from gccDJ Delorie1-1/+1
2007-06-142007-06-14 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-1/+2
* configure.ac: Use ACX_PROG_CC_ALMOST_PEDANTIC too. * configure: Regenerate.
2007-06-142007-06-14 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-20/+2
* aclocal.m4: Include config/warnings.m4. * configure.ac: Use ACX_PROG_CC_WARNING_OPTS. * configure: Regenerate.
2007-06-07 * configure.ac: Non-default multilibs can be cross compilations.Geoffrey Keating1-0/+19
* configure: Regenerate
2007-02-26merge from gccDJ Delorie1-0/+17
2006-08-30 * configure.ac: Add case for Mingw as host.Corinna Vinschen1-0/+49
* configure: Regenerate.
2006-04-07merge from gccDJ Delorie1-0/+5
2006-01-29merge from gccDJ Delorie1-0/+16
2005-07-22merge from gccDJ Delorie1-1/+1
2005-07-22merge from gccDJ Delorie1-1/+1
2005-07-22 * configure.ac: Check for a getopt(3) declaration.Ben Elliston1-1/+1
* configure, config.in: Regenerate.
2005-07-072005-07-07 Kelley Cook <kcook@gcc.gnu.org>Kelley Cook1-1/+69
* config.table: Delete file. Move former contents into ... * configure.ac: ... here and escape any brackets for m4. * Makefile.in (config.status): Remove dependency on config.table. * configure: Regenerate.
2005-06-21Index: include/ChangeLogGeoffrey Keating1-1/+3
2005-06-20 Geoffrey Keating <geoffk@apple.com> * libiberty.h (strverscmp): Prototype. Index: libiberty/ChangeLog 2005-06-20 Geoffrey Keating <geoffk@apple.com> * strverscmp.c: New. * Makefile.in (CFILES): Add strverscmp.c. (CONFIGURED_OFILES): Add strverscmp.o. (strverscmp.o): New rule. (stamp-functions): Add $(srcdir) to files in source directory. * configure.ac (funcs): Add strverscmp. (AC_CHECK_FUNCS): Add strverscmp. * configure: Regenerate. * functions.texi: Regenerate.
2005-05-28merge from gccDJ Delorie1-2/+2
2005-05-24merge from gccDJ Delorie1-0/+1
2005-05-07merge from gccDJ Delorie1-5/+5