[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: none




Harald Barth <haba@pdc.kth.se> writes:

> the with + marked statements never will be executed. Neither does
> the $with_$1_config= work as expected ;-)
>
> I'd say instead:

however this overrids --with-PACKAGE-config

Love

>
> *** cf/test-package.m4.orig     Tue Sep 10 17:23:38 2002
> --- cf/test-package.m4  Mon Jan 26 23:21:34 2004
> ***************
> *** 71,76 ****
> --- 71,79 ----
>   yes|no|"")
>         ;;
>   *)
> +       if test -x $with_$1/bin/$with_$1_config ; then
> +               with_$1_config=$with_$1/bin/$with_$1_config
> +       fi
>         $1_cflags="`$with_$1_config --cflags 2>&1`"
>         $1_libs="`$with_$1_config --libs 2>&1`"
>         ;;
>
> Harald.

PGP signature