Il 06/11/2013 19:33, Joseph S. Myers ha scritto:
> +dnl GCC_GLIBC_VERSION_GTE_IFELSE(MAJOR, MINOR, IF-TRUE, IF-FALSE)
> +dnl -------------------------------------------------------------
> +dnl If the target glibc version ($glibc_version_major.$glibc_version_minor)
> +dnl is at least MAJOR.MINOR, call IF-TRUE, otherwise call IF-FALSE.
> +AC_DEFUN([GCC_GLIBC_VERSION_GTE_IFELSE],
> +[
> +if test $glibc_version_major -gt $1 \
> +  || ( test $glibc_version_major -eq $1 && test $glibc_version_minor -ge $2 
> );
> +then
> +  :
> +  $3
> +else
> +  :
> +  $4
> +fi])

Ok, but please use AS_IF here.

Paolo

Reply via email to