+
+AC_ARG_WITH(bfd-include-dir,
+ [ --with-bfd-include-dir=<dir> include path for correct bfd.h ],
+ [ ac_bfd_include_dir=$withval ],
+ [ ac_bfd_include_dir=NONE ]
+)
+
+AC_ARG_WITH(binutils-include-dir,
+ [ --with-binutils-include-dir=<dir> include path for binutils headers ],
+ [ ac_binutils_include_dir=$withval ],
+ [ ac_binutils_include_dir=NONE ]
+)
+
+AC_ARG_WITH(binutils-ldscript-dir,
+ [ --with-binutils-ldscript-dir=<dir> path to install elf2flt.ld ],
+ [ ac_binutils_ldscript_dir=$withval ],
+ [ ac_binutils_ldscript_dir=NONE ]
+)
+
+AC_ARG_WITH(binutils-build-dir,
+ [ --with-binutils-build-dir=<dir> path to compiled binutils tree ],
+ [ ac_binutils_build_dir=$withval ],
+ [ ac_binutils_build_dir=NONE ]
+)
+
+AC_ARG_ENABLE(got-check,
+ [ --disable-got-check - disable check for GOT (needed on H8) ],
+ [ got_check=$enableval ],
+ [ got_check=yes ]
+)
+
+AC_ARG_ENABLE(emit_relocs,
+ [ --disable-emit-relocs - don't use the --emit-relocs (-q) linker option ],
+ [ emit_relocs=$enableval ],
+ [ emit_relocs=yes ]
+)
+
+AC_ARG_ENABLE(emit_ctor_dtor,
+ AS_HELP_STRING([--enable-emit-ctor-dtor], [manually create ctor/dtor list]),
+ [ emit_ctor_dtor=$enableval ],
+ [ emit_ctor_dtor=no ]
+)