This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FreeBSD port (58): config support


The updated configuration support. Indeed defining the default version in
shlib-versions makes it unnecessary to define a default value for oldest_abi.


ChangeLog:
2002-09-04  Bruno Haible  <bruno@clisp.org>

	* configure.in: Don't require --enable-hacker-mode for FreeBSD.
	* shlib-versions (libm, libc): Define as version 1 on FreeBSD.

linuxthreads/ChangeLog:
2002-09-04  Bruno Haible  <bruno@clisp.org>

	* shlib-versions (libpthread): Define as version 0 on FreeBSD.
	Change the wildcard to catch also non-Linux platforms.

linuxthreads_db/ChangeLog:
2002-09-04  Bruno Haible  <bruno@clisp.org>

	* shlib-versions (libthread_db): Define as version 0 on FreeBSD.
	Change the wildcard to catch also non-Linux platforms.

diff -r -c3 glibc-20020910.bak/configure.in glibc-20020910/configure.in
*** glibc-20020910.bak/configure.in	Thu Sep  5 15:21:25 2002
--- glibc-20020910/configure.in	Tue Sep 17 02:22:02 2002
***************
*** 279,285 ****
  ###
  if test -z "$enable_hacker_mode"; then
    case "$machine-$host_os" in
!   *-linux* | *-gnu* | arm*-none* | powerpc-aix4.3.*)
      ;;
    *)
      echo "*** The GNU C library is currently not available for this platform."
--- 279,285 ----
  ###
  if test -z "$enable_hacker_mode"; then
    case "$machine-$host_os" in
!   *-linux* | *-gnu* | *-freebsd* | arm*-none* | powerpc-aix4.3.*)
      ;;
    *)
      echo "*** The GNU C library is currently not available for this platform."
diff -r -c3 glibc-20020910.bak/shlib-versions glibc-20020910/shlib-versions
*** glibc-20020910.bak/shlib-versions	Thu Sep  5 15:21:25 2002
--- glibc-20020910/shlib-versions	Tue Sep 17 02:22:05 2002
***************
*** 26,31 ****
--- 26,32 ----
  x86_64-.*-linux.*       DEFAULT			GLIBC_2.2.5
  powerpc64-.*-linux.*	DEFAULT			GLIBC_2.3
  .*-.*-gnu-gnu.*		DEFAULT			GLIBC_2.2.6
+ .*-.*-freebsd.*-gnu.*	DEFAULT			GLIBC_2.3
  
  # Configuration		Library=version		Earliest symbol set (optional)
  # -------------		---------------		------------------------------
***************
*** 39,44 ****
--- 40,46 ----
  hppa.*-.*-.*		libm=6			GLIBC_2.2
  .*-.*-linux.*		libm=6
  .*-.*-gnu-gnu.*		libm=6
+ .*-.*-freebsd.*-gnu.*	libm=1
  
  # We provide libc.so.6 for Linux kernel versions 2.0 and later.
  alpha.*-.*-linux.*	libc=6.1
***************
*** 49,54 ****
--- 51,57 ----
  sparc64-.*-linux.*	libc=6			GLIBC_2.2
  hppa.*-.*-.*		libc=6			GLIBC_2.2
  .*-.*-linux.*		libc=6
+ .*-.*-freebsd.*-gnu.*	libc=1
  
  # libmachuser.so.1 corresponds to mach/*.defs as of Utah's UK22 release.
  .*-.*-gnu-gnu.*		libmachuser=1
diff -r -c3 glibc-20020910.bak/linuxthreads/shlib-versions glibc-20020910/linuxthreads/shlib-versions
*** glibc-20020910.bak/linuxthreads/shlib-versions	Thu Sep  5 15:21:27 2002
--- glibc-20020910/linuxthreads/shlib-versions	Fri Sep 20 01:25:01 2002
***************
*** 8,11 ****
  cris-.*-linux.*		libpthread=0		GLIBC_2.2
  x86_64-.*-linux.*	libpthread=0		GLIBC_2.2.5
  powerpc64-.*-linux.*	libpthread=0		GLIBC_2.3
! .*-.*-linux.*		libpthread=0
--- 8,12 ----
  cris-.*-linux.*		libpthread=0		GLIBC_2.2
  x86_64-.*-linux.*	libpthread=0		GLIBC_2.2.5
  powerpc64-.*-linux.*	libpthread=0		GLIBC_2.3
! .*-.*-freebsd.*-gnu.*	libpthread=0		GLIBC_2.3
! .*-.*-.*		libpthread=0
diff -r -c3 glibc-20020910.bak/linuxthreads_db/shlib-versions glibc-20020910/linuxthreads_db/shlib-versions
*** glibc-20020910.bak/linuxthreads_db/shlib-versions	Mon Nov 15 16:12:01 1999
--- glibc-20020910/linuxthreads_db/shlib-versions	Tue Sep 17 02:22:04 2002
***************
*** 1,2 ****
  # The thread debug library
! .*-.*-linux.*		libthread_db=1
--- 1,3 ----
  # The thread debug library
! .*-.*-freebsd.*-gnu.*	libthread_db=1		GLIBC_2.3
! .*-.*-.*		libthread_db=1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]