Hi! Any news about this?
On Mon, Jan 19, 2009 at 12:01:04PM +0100, Robert Millan wrote: > > Hi, > > A triplet for GNU/kOpenSolaris has been assigned in GNU config now. Here's > the patch for gnulib to detect it. In addition to my previous patch, this > one also adds it to host-os.m4. > > -- > Robert Millan > > The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and > how) you may access your data; but nobody's threatening your freedom: we > still allow you to remove your data and not access it at all." > diff --git a/build-aux/config.libpath b/build-aux/config.libpath > index c073caa..eb66a9b 100755 > --- a/build-aux/config.libpath > +++ b/build-aux/config.libpath > @@ -101,7 +101,7 @@ case $host_os in > ;; > linux*oldld* | linux*aout* | linux*coff*) > ;; > - linux* | k*bsd*-gnu) > + linux* | k*bsd*-gnu | kopensolaris*-gnu) > shlibpath_var=LD_LIBRARY_PATH > ;; > netbsd*) > diff --git a/build-aux/config.rpath b/build-aux/config.rpath > index 85c2f20..1aea8b1 100755 > --- a/build-aux/config.rpath > +++ b/build-aux/config.rpath > @@ -74,7 +74,7 @@ else > ;; > newsos6) > ;; > - linux* | k*bsd*-gnu) > + linux* | k*bsd*-gnu | kopensolaris*-gnu) > case $cc_basename in > ecc*) > wl='-Wl,' > @@ -202,7 +202,7 @@ if test "$with_gnu_ld" = yes; then > hardcode_direct=no > hardcode_libdir_flag_spec='${wl}-rpath,$libdir' > ;; > - gnu* | linux* | k*bsd*-gnu) > + gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu) > if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; > then > : > else > @@ -582,10 +582,7 @@ case "$host_os" in > ;; > linux*oldld* | linux*aout* | linux*coff*) > ;; > - linux* | k*bsd*-gnu) > - library_names_spec='$libname$shrext' > - ;; > - knetbsd*-gnu) > + linux* | k*bsd*-gnu | kopensolaris*-gnu) > library_names_spec='$libname$shrext' > ;; > netbsd*) > diff --git a/m4/host-os.m4 b/m4/host-os.m4 > index 375210b..e11397c 100644 > --- a/m4/host-os.m4 > +++ b/m4/host-os.m4 > @@ -42,6 +42,8 @@ AC_DEFUN([gl_HOST_OS], > netbsd*) os='NetBSD';; > knetbsd*-gnu) os='GNU/kNetBSD';; # NetBSD kernel, GNU libc+userland > kfreebsd*-gnu) os='GNU/kFreeBSD';; # FreeBSD kernel, GNU > libc+userland > + kopensolaris*-gnu) > + os='GNU/kOpenSolaris';; # OpenSolaris kernel, GNU > libc+userland > msdosdjgpp*) os='DJGPP';; > mpeix*) os='MPE/iX';; > mint*) os='MiNT';; > diff --git a/m4/ldd.m4 b/m4/ldd.m4 > index 56d9066..7e9c454 100644 > --- a/m4/ldd.m4 > +++ b/m4/ldd.m4 > @@ -165,7 +165,7 @@ changequote(,)dnl > dnl > LDDPOSTPROC="2>/dev/null | sed -n -e 's,^[[][0-9]*[]].* 0x[^ > ]* [^ ][^ ]* \\([^ ][^ ]*\\).*\$,\\1,p' | sed -e > 's,^.*/,,'" > ;; > - linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu) # glibc-based systems > + linux* | gnu* | k*bsd*-gnu | kopensolaris*-gnu) # glibc-based systems > LDDPROG="ldd" > dnl The output of "ldd program" looks like this: > dnl libc.so.6 => /lib/libc.so.6 (0x4002d000) > diff --git a/m4/lib-link.m4 b/m4/lib-link.m4 > index fcd3391..42cab09 100644 > --- a/m4/lib-link.m4 > +++ b/m4/lib-link.m4 > @@ -472,7 +472,7 @@ AC_DEFUN([AC_LIB_LINKFLAGS_BODY], > if test "X$additional_includedir" = "X/usr/local/include"; > then > if test -n "$GCC"; then > case $host_os in > - linux* | gnu* | k*bsd*-gnu) haveit=yes;; > + linux* | gnu* | k*bsd*-gnu | kopensolaris*-gnu) > haveit=yes;; > esac > fi > fi > @@ -523,7 +523,7 @@ AC_DEFUN([AC_LIB_LINKFLAGS_BODY], > || test "X$additional_libdir" = > "X/usr/local/$acl_libdirstem2"; then > if test -n "$GCC"; then > case $host_os in > - linux* | gnu* | k*bsd*-gnu) haveit=yes;; > + linux* | gnu* | k*bsd*-gnu | kopensolaris*-gnu) > haveit=yes;; > esac > fi > fi > diff --git a/m4/lib-prefix.m4 b/m4/lib-prefix.m4 > index 3bdc0fc..7b60a31 100644 > --- a/m4/lib-prefix.m4 > +++ b/m4/lib-prefix.m4 > @@ -70,7 +70,7 @@ AC_DEFUN([AC_LIB_PREFIX], > if test "X$additional_includedir" = "X/usr/local/include"; then > if test -n "$GCC"; then > case $host_os in > - linux* | gnu* | k*bsd*-gnu) haveit=yes;; > + linux* | gnu* | k*bsd*-gnu | kopensolaris*-gnu) haveit=yes;; > esac > fi > fi -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."