From: Andy Dougherty Date: Mon, 24 Feb 1997 21:07:07 +0000 (-0500) Subject: Re: ccdlflags don't quite work X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=bc75e68b7b49a5ac07dc839aec7ca05eba51175f;p=p5sagit%2Fp5-mst-13.2.git Re: ccdlflags don't quite work On Mon, 24 Feb 1997, Matthias Urlichs wrote: > Two problems: > > # How will the perl executable find the installed shared $libperl? > # Add $xxx to ccdlflags. > ... and it does this every time I reconfigure Perl without first saying > "rm config.sh", so the list grows longer and longer and... Ugh. Probably > the best solution is to add a Configure variable which does nothing but > remember if we have added $xxx yet. I think this will fix the problem. p5p-msgid: private-msgid: &4 + *) + # Only add $xxx if it isn't already in ccdlflags. + case "$ccdlflags" in + *${xxx}*) ;; + *) ccdlflags="$ccdlflags $xxx" + cat <&4 Adding $xxx to the flags passed to $ld so that the perl executable will find the installed shared $libperl. EOM + ;; + esac ;; esac fi