diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2018-07-11 10:56:30 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2018-07-11 10:56:30 +0900 |
commit | 0727c394562237d7e626849eae04790264e56208 (patch) | |
tree | 8d58d1097d359c3b84f45c220b487fb093300b40 /configure.ac | |
parent | f1162767e3552d05c1255497d49de15c2d94d0b4 (diff) | |
download | libgpg-error-0727c394562237d7e626849eae04790264e56208.tar.gz |
build: Use AX_CC_FOR_BUILD and EXEEXT.
* configure.ac (AX_CC_FOR_BUILD): New.
* doc/Makefile.am: Use EXEEXT and EXEEXT_FOR_BUILD.
* m4/ac_prog_cc_for_build.m4: Remove.
* m4/ax_cc_for_build.m4: New.
--
Suggested-by: Michael Haubenwallner
<michael.haubenwallner@ssi-schaefer.com>
Fixes-commit: 6eb80abcde5ad776379069871e4156b28ef69712
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/configure.ac b/configure.ac index 5c69dce..129cb61 100644 --- a/configure.ac +++ b/configure.ac @@ -126,17 +126,7 @@ LT_LANG([Windows Resource]) # We need to compile and run a program on the build machine. -dnl The AC_PROG_CC_FOR_BUILD macro in the AC archive is broken for -dnl autoconf 2.57. -dnl AC_PROG_CC_FOR_BUILD -AC_MSG_CHECKING(for cc for build) -if test "$cross_compiling" = "yes"; then - CC_FOR_BUILD="${CC_FOR_BUILD-cc}" -else - CC_FOR_BUILD="${CC_FOR_BUILD-$CC}" -fi -AC_MSG_RESULT($CC_FOR_BUILD) -AC_ARG_VAR(CC_FOR_BUILD,[build system C compiler]) +AX_CC_FOR_BUILD AH_BOTTOM([ /* Force using of NLS for W32 even if no libintl has been found. This is |