libtool
[Top][All Lists]
Advanced

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

[Fwd: ltmain.in]


From: Bruce Korb
Subject: [Fwd: ltmain.in]
Date: Mon, 25 Mar 2002 21:40:09 -0800

I found that freebsd is hacking all the ltmain.sh-es to get
roughly the same behavior that netbsd is already getting.
Any objections to putting something along these lines into
ltmain.in?  (Obviously changing /usr/bin/false to something
conditional on not being freebsd.)

> --- config/ltmain.sh.orig       Mon Sep  3 18:24:41 2001
> +++ config/ltmain.sh    Thu Dec  6 03:24:42 2001
> @@ -2408,6 +2408,9 @@
>           *-*-netbsd*)
>             # Don't link with libc until the a.out ld.so is fixed.
>             ;;
> +         *-*-freebsd*)
> +           # FreeBSD doesn't need this...
> +           ;;
>           *)
>             # Add libc to deplibs on all other systems if necessary.
>             if test $build_libtool_need_lc = "yes"; then
> @@ -4175,10 +4178,12 @@
>         fi
> 
>         # Install the pseudo-library for information purposes.
> +       if /usr/bin/false; then
>         name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
>         instname="$dir/$name"i
>         $show "$install_prog $instname $destdir/$name"
>         $run eval "$install_prog $instname $destdir/$name" || exit $?
> +       fi
> 
>         # Maybe install the static library, too.
>         test -n "$old_library" && staticlibs="$staticlibs
> $dir/$old_library"

-- 

Bruce Korb <first initial + last name at gnu dot org>
AG URL: http://autogen.sourceforge.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]