bfd/
[deliverable/binutils-gdb.git] / gas / acinclude.m4
index 4a3ccf358bdd6ffff0e72db95983f1bfa9bcfe32..096b0afe16e943eda7323777edc544499973feaf 100644 (file)
@@ -1,3 +1,19 @@
+sinclude(../bfd/warning.m4)
+sinclude(../config/gettext-sister.m4)
+sinclude(../config/nls.m4)
+sinclude(../config/po.m4)
+sinclude(../config/progtest.m4)
+
+dnl See whether we need to use fopen-bin.h rather than fopen-same.h.
+AC_DEFUN([BFD_BINARY_FOPEN],
+[AC_REQUIRE([AC_CANONICAL_TARGET])
+case "${host}" in
+changequote(,)dnl
+*-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
+changequote([,])dnl
+  AC_DEFINE(USE_BINARY_FOPEN, 1, [Use b modifier when opening binary files?]) ;;
+esac])dnl
+
 dnl GAS_CHECK_DECL_NEEDED(name, typedefname, typedef, headers)
 AC_DEFUN([GAS_CHECK_DECL_NEEDED],[
 AC_MSG_CHECKING(whether declaration is required for $1)
@@ -64,9 +80,3 @@ AC_DEFUN([AM_PROG_LIBTOOL],)
 AC_DEFUN([AC_CHECK_LIBM],)
 AC_SUBST(LIBTOOL)
 ])
-
-sinclude(../gettext.m4)
-ifelse(yes,no,[
-AC_DEFUN([CY_WITH_NLS],)
-AC_SUBST(INTLLIBS)
-])
This page took 0.049956 seconds and 4 git commands to generate.