configure fails on PPC/Linux
Tatsuo Ishii <t-ishii@sra.co.jp>
From: t-ishii@sra.co.jp
To: pgsql-hackers@postgreSQL.org
Cc: t-ishii@srapc451.sra.co.jp
Date: 1998-02-12T07:36:39Z
Lists: pgsql-hackers
Hello, configure on PPC/Linux fails because of an incorrect template file(configure tries to envoke gcc with -m486 option!). Following patches should fix the problem. P.S. I have tested on the 2/11 snapshot. -- Tatsuo Ishii t-ishii@sra.co.jp -------------------------------------------------------------- diff -c -N template.orig/.similar template/.similar *** template.orig/.similar Tue Feb 3 17:00:32 1998 --- template/.similar Thu Feb 12 15:14:13 1998 *************** *** 17,22 **** powerpc-ibm-aix3.2.5=aix_325 powerpc-ibm-aix4.1.4.0=aix_41 powerpc-ibm-aix4.1.5.0=aix_41 ! powerpc-unknown-linux-gnu=linux-elf sparc-sun-solaris=sparc_solaris-gcc sparc-unknown-linux-gnu=linux-elf-sparc --- 17,22 ---- powerpc-ibm-aix3.2.5=aix_325 powerpc-ibm-aix4.1.4.0=aix_41 powerpc-ibm-aix4.1.5.0=aix_41 ! powerpc-unknown-linux-gnu=linux-elf-ppc sparc-sun-solaris=sparc_solaris-gcc sparc-unknown-linux-gnu=linux-elf-sparc diff -c -N template.orig/linux-elf-ppc template/linux-elf-ppc *** template.orig/linux-elf-ppc Thu Jan 1 09:00:00 1970 --- template/linux-elf-ppc Thu Feb 12 15:14:41 1998 *************** *** 0 **** --- 1,10 ---- + AROPT:crs + CFLAGS:-O2 + SHARED_LIB:-fpic + ALL: + SRCH_INC:/usr/include/ncurses /usr/include/readline + SRCH_LIB: + USE_LOCALE:no + DLSUFFIX:.so + YFLAGS:-d + YACC:bison -y