sparc-linux-config-20060317
authorRuss Allbery <rra@stanford.edu>
Fri, 17 Mar 2006 23:10:50 +0000 (23:10 +0000)
committerRuss Allbery <rra@stanford.edu>
Fri, 17 Mar 2006 23:10:50 +0000 (23:10 +0000)
Collapse all of the sparc*_linux* cases into a single case.  Not just for
ease of maintenance -- this also results in clearer error messages for
configurations that aren't supported and should allow building of the
userspace tools for a few @sys types that the kernel build doesn't support.
Reported by Michael Conrad and Karl Ramm.  Patch has been in the Debian
package for some time.

src/cf/osconf.m4

index 22daf81..11cca68 100644 (file)
@@ -680,7 +680,7 @@ case $AFS_SYSNAME in
                SHLIB_LINKER="${CC} -shared"
                ;;
 
-       sparc64_linux*)
+       sparc*_linux*)
                KERN_OPTMZ=-O2
                LEX="flex -l"
                MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
@@ -696,19 +696,6 @@ case $AFS_SYSNAME in
                SHLIB_LINKER="${MT_CC} -shared"
                ;;
 
-       sparc_linux22)
-               KERN_OPTMZ=-O2
-               LEX="flex -l"
-               MT_CFLAGS='-DAFS_PTHREAD_ENV -pthread -D_REENTRANT ${XCFLAGS}'
-               MT_LIBS="-lpthread"
-               PAM_CFLAGS="-O2 -Dlinux -DLINUX_PAM -fPIC"
-               SHLIB_LDFLAGS="-shared -Xlinker -x"
-               TXLIBS="-lncurses"
-               XCFLAGS="-O2 -D_LARGEFILE64_SOURCE"
-               YACC="bison -y"
-               SHLIB_LINKER="${MT_CC} -shared"
-               ;;
-
        sun4_413)
                CCXPG2="/usr/xpg2bin/cc"
                CC="gcc"