-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 this does not have a lot of the normal stuff. the only place which CXX occurs is in the generated makefile, not in Makefile.in. It does not have most of the autogen files. the package is xgks....it's on sourceforge, but it has not been updated in a while. someone needs this for a noaa project, and I told him I'd help.
On Thursday, May 9, 2002, at 07:41 PM, Jeremy Erwin wrote: > On Thursday, May 9, 2002, at 07:20 PM, Chris Zubrzycki wrote: >> On Thursday, May 9, 2002, at 04:58 PM, Jeremy Erwin wrote: >>> On Thursday, May 9, 2002, at 02:44 PM, Chris Zubrzycki wrote: >>>> I have a program I'm trying to port for someone, and I have a small >>>> problem. When configure creates the Makefile, it has the line >>>> Makefile:CXX = @CXX@ >>> >>> CXX=@CXX@ is what you might find in a Makefile.in file. The configure >>> script is >>> supposed to correctly translate this--- >>> >>> e.g. >>> s%@CXX@%$CXX%g should appear near the end of the configure script >>> >>> perhaps your configure.in script does not call AC_PROG_CXX? also try >>> rerunning autoconf. >> >> hmm...it does not call cxx stuff anywhere, except for here: >> >> # Protect against being on the right side of a sed subst in >> config.status. >> sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; >> s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF >> $ac_vpsub >> $extrasub >> s%@SHELL@%$SHELL%g >> s%@CFLAGS@%$CFLAGS%g >> s%@CPPFLAGS@%$CPPFLAGS%g >> s%@CXXFLAGS@%$CXXFLAGS%g >> s%@FFLAGS@%$FFLAGS%g >> s%@DEFS@%$DEFS%g >> >> soo...hmm...It has no effect if I have CXX=g++ in the shell. any ideas? > $CXX is a shell variable. So, if I define "CXX-g++" or "setenv CXX > g++", $CXX will be interpreted as "g++" ... However, your Makefile.in > contains the variable @CXX@, which is > not the same. If the configure script is correctly written, it will > write makefiles, substituting $CXX for @CXX@. > > I am not sure what autoconf macro will handle this. I think it's > AC_PROG_CXX. You will probably need to insert this into your > configure.in, and rerun aclocal, autoheader, autoconf, and autoconf. > > Then retry running ./configure. > > - -chris zubrzycki - - -- PGP public key: http://homepage.mac.com/beren/publickey.txt ID: 0xA2ABC070 Fingerprint: 26B0 BA6B A409 FA83 42B3 1688 FBF9 8232 A2AB C070 ======================================================== Unix _IS_ user friendly... It's just selective about who its friends are. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (Darwin) Comment: For info see http://www.gnupg.org iD8DBQE82yE3+/mCMqKrwHARAli4AJ0XLFKovl9oFCLPTmOtn3OfhHUoIQCgpKi5 NqXBkczA//JqeFG660tsSw0= =zcfK -----END PGP SIGNATURE----- _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel