summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidm <davidm>2009-05-08 03:09:35 +0400
committerdavidm <davidm>2009-05-08 03:09:35 +0400
commit4a6dc5ff7f16bd75ea79732935ec9881a1c67a5b (patch)
treeab9facc1318e4f02a88154da2cd4b9860d50f19a
parent3127283640696ca763b214c35a2c73a5b5586884 (diff)
downloadelf2flt-4a6dc5ff7f16bd75ea79732935ec9881a1c67a5b.tar.xz
Update configure to get the new ctor/dtor option.
-rwxr-xr-xconfigure13
1 files changed, 13 insertions, 0 deletions
diff --git a/configure b/configure
index 3256367..0196e6a 100755
--- a/configure
+++ b/configure
@@ -638,6 +638,7 @@ ac_includes_default="\
ac_subst_vars='LTLIBOBJS
LIBOBJS
SYMBOL_PREFIX
+emit_ctor_dtor
emit_relocs
got_check
binutils_ldscript_dir
@@ -718,6 +719,7 @@ with_binutils_ldscript_dir
with_binutils_build_dir
enable_got_check
enable_emit_relocs
+enable_emit_ctor_dtor
'
ac_precious_vars='build_alias
host_alias
@@ -1354,6 +1356,7 @@ Optional Features:
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--disable-got-check - disable check for GOT (needed on H8)
--disable-emit-relocs - don't use the --emit-relocs (-q) linker option
+ --enable-emit-ctor-dtor manually create ctor/dtor list
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
@@ -1904,6 +1907,15 @@ else
fi
+# Check whether --enable-emit_ctor_dtor was given.
+if test "${enable_emit_ctor_dtor+set}" = set; then
+ enableval=$enable_emit_ctor_dtor; emit_ctor_dtor=$enableval
+else
+ emit_ctor_dtor=no
+
+fi
+
+
ac_aux_dir=
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
if test -f "$ac_dir/install-sh"; then
@@ -4674,6 +4686,7 @@ done
+
ac_config_files="$ac_config_files Makefile ld-elf2flt elf2flt.ld"
cat >confcache <<\_ACEOF