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