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

Re: none




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

>> however this overrids --with-PACKAGE-config
>
> Yes, that was not intended. Better with the patch below?

Love

--- test-package.m4
+++ test-package.m4
@@ -68,6 +68,14 @@
 $1_libs=
 
 case "$with_$1_config" in
+yes|no|""|"$7")
+	if test -f $with_$1/bin/$7 ; then
+		with_$1_config=$with_$1/bin/$7
+	fi
+	;;
+esac
+
+case "$with_$1_config" in
 yes|no|"")
 	;;
 *)

PGP signature