wok-6.x diff mpc-library/stuff/libmpc-0.9-configure_cflags_egrep_issue.patch @ rev 14294

Up: eio (1.7.5)
author Dominique Corbex <domcox@slitaz.org>
date Sun Apr 07 10:06:26 2013 +0200 (2013-04-07)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mpc-library/stuff/libmpc-0.9-configure_cflags_egrep_issue.patch	Sun Apr 07 10:06:26 2013 +0200
     1.3 @@ -0,0 +1,63 @@
     1.4 +--- trunk/configure.ac	2011/02/21 12:18:31	932
     1.5 ++++ trunk/configure.ac	2011/02/21 16:41:09	936
     1.6 +@@ -33,7 +33,7 @@
     1.7 + AC_CANONICAL_HOST
     1.8 + AC_CONFIG_MACRO_DIR([m4])
     1.9 + 
    1.10 +-dnl Extra arguments to configure
    1.11 ++# Extra arguments to configure
    1.12 + AC_ARG_WITH([mpfr_include],
    1.13 +             [AC_HELP_STRING([--with-mpfr-include=DIR],
    1.14 +                             [MPFR include directory])],
    1.15 +@@ -85,18 +85,19 @@
    1.16 +              )
    1.17 + 
    1.18 + 
    1.19 +-dnl Setup CC and CFLAGS
    1.20 ++# Setup CC and CFLAGS
    1.21 ++AC_PROG_CC
    1.22 ++AC_LANG(C)
    1.23 + 
    1.24 +-dnl Check for user specification of CC or CFLAGS
    1.25 ++# Set up LibTool
    1.26 ++AC_PROG_LIBTOOL
    1.27 ++
    1.28 ++# Check for user specification of CC or CFLAGS
    1.29 + if test -n "$CFLAGS" || test -n "$CC" ; then
    1.30 +    user_redefine_cc=yes
    1.31 + fi
    1.32 + 
    1.33 +-# Check for programs
    1.34 +-AC_PROG_CC
    1.35 +-AC_LANG(C)
    1.36 +-
    1.37 +-dnl Check GMP Header
    1.38 ++# Check GMP Header
    1.39 + AC_MSG_CHECKING(for gmp.h)
    1.40 + AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
    1.41 + #include "gmp.h"
    1.42 +@@ -105,22 +106,19 @@
    1.43 +  AC_MSG_ERROR([gmp.h can't be found, or is unusable.])
    1.44 + ])
    1.45 + 
    1.46 +-dnl Check for GMP CFLAGS in gmp.h
    1.47 ++# Check for GMP CFLAGS in gmp.h
    1.48 + if test -z "$user_redefine_cc" ; then
    1.49 +    MPC_GMP_CC_CFLAGS
    1.50 + fi
    1.51 + 
    1.52 + 
    1.53 +-dnl Configs for Windows DLLs
    1.54 ++# Configs for Windows DLLs
    1.55 + case $host in
    1.56 +   *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
    1.57 +      MPC_WINDOWS
    1.58 + esac
    1.59 + 
    1.60 + 
    1.61 +-dnl Finally set up LibTool
    1.62 +-AC_PROG_LIBTOOL
    1.63 +-
    1.64 + # Checks for header files.
    1.65 + AC_HEADER_STDC
    1.66 + AC_CHECK_HEADERS([complex.h locale.h inttypes.h stdint.h limits.h unistd.h sys/time.h])