=================================================================== RCS file: /home/cvs/OpenXM_contrib/pari/Attic/Configure,v retrieving revision 1.2 retrieving revision 1.3 diff -u -p -r1.2 -r1.3 --- OpenXM_contrib/pari/Attic/Configure 2003/03/07 09:48:00 1.2 +++ OpenXM_contrib/pari/Attic/Configure 2005/07/12 02:25:59 1.3 @@ -221,7 +221,8 @@ if test -n "$myuname"; then irix*) osname=irix;; fx2800) arch=fx2800; osname=concentrix;; hp*) arch=hppa; osname=hpux;; - freebsd|os2) arch=ix86;; + freebsd) arch=`uname -m`;; + os2) arch=ix86;; ultrix) arch=mips;; nextstep) arch=`file /bin/sh | sed 's/.*(for architecture \(.*\))/\1/'`;; osf1) case "$5" in alpha) arch=alpha;; esac;; @@ -774,6 +775,7 @@ if test -n "$__gnuc__"; then linux-i?86|cygwin*) OPTFLAGS="-O3 -DGCC_INLINE -fexpensive-optimizations -malign-loops=2 -malign-jumps=2 -malign-functions=2";; esac case "$osname-$asmarch" in *-sparcv8*) CFLAGS="$CFLAGS -mv8" ;; esac + case "$arch" in amd64|x86_64) CFLAGS="$CFLAGS -fPIC" ;; esac else CFLAGS= DBGFLAGS="-g"