wok-6.x view mpc-library/stuff/libmpc-0.9-configure_cflags_egrep_issue.patch @ rev 18281
mate-control-center: update deps and force glib compile schemas
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Mon Aug 10 09:59:01 2015 -0300 (2015-08-10) |
parents | |
children |
line source
1 --- trunk/configure.ac 2011/02/21 12:18:31 932
2 +++ trunk/configure.ac 2011/02/21 16:41:09 936
3 @@ -33,7 +33,7 @@
4 AC_CANONICAL_HOST
5 AC_CONFIG_MACRO_DIR([m4])
7 -dnl Extra arguments to configure
8 +# Extra arguments to configure
9 AC_ARG_WITH([mpfr_include],
10 [AC_HELP_STRING([--with-mpfr-include=DIR],
11 [MPFR include directory])],
12 @@ -85,18 +85,19 @@
13 )
16 -dnl Setup CC and CFLAGS
17 +# Setup CC and CFLAGS
18 +AC_PROG_CC
19 +AC_LANG(C)
21 -dnl Check for user specification of CC or CFLAGS
22 +# Set up LibTool
23 +AC_PROG_LIBTOOL
24 +
25 +# Check for user specification of CC or CFLAGS
26 if test -n "$CFLAGS" || test -n "$CC" ; then
27 user_redefine_cc=yes
28 fi
30 -# Check for programs
31 -AC_PROG_CC
32 -AC_LANG(C)
33 -
34 -dnl Check GMP Header
35 +# Check GMP Header
36 AC_MSG_CHECKING(for gmp.h)
37 AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
38 #include "gmp.h"
39 @@ -105,22 +106,19 @@
40 AC_MSG_ERROR([gmp.h can't be found, or is unusable.])
41 ])
43 -dnl Check for GMP CFLAGS in gmp.h
44 +# Check for GMP CFLAGS in gmp.h
45 if test -z "$user_redefine_cc" ; then
46 MPC_GMP_CC_CFLAGS
47 fi
50 -dnl Configs for Windows DLLs
51 +# Configs for Windows DLLs
52 case $host in
53 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
54 MPC_WINDOWS
55 esac
58 -dnl Finally set up LibTool
59 -AC_PROG_LIBTOOL
60 -
61 # Checks for header files.
62 AC_HEADER_STDC
63 AC_CHECK_HEADERS([complex.h locale.h inttypes.h stdint.h limits.h unistd.h sys/time.h])