]> git.wh0rd.org Git - elf2flt.git/commitdiff
Update configure to get the new ctor/dtor option.
authorDavid McCullough <davidm@snapgear.com>
Thu, 7 May 2009 23:09:35 +0000 (23:09 +0000)
committerDavid McCullough <davidm@snapgear.com>
Thu, 7 May 2009 23:09:35 +0000 (23:09 +0000)
configure

index 3256367ada178018ea60201e5b99c2eada0bc1d1..0196e6a12d28806a1d8cc566c1666929c28974c1 100755 (executable)
--- 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