From: Russ Allbery Date: Fri, 17 Mar 2006 23:10:50 +0000 (+0000) Subject: sparc-linux-config-20060317 X-Git-Tag: openafs-devel-1_5_1~69 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=e63312e79aa747232239030807595356f40bc367;p=packages%2Fo%2Fopenafs.git sparc-linux-config-20060317 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. --- diff --git a/src/cf/osconf.m4 b/src/cf/osconf.m4 index 22daf81e3..11cca6875 100644 --- a/src/cf/osconf.m4 +++ b/src/cf/osconf.m4 @@ -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"