configure seems to think the -Wl,-Bexport flag will work on Solaris
with Sun cc. This needs to be fixed. 21.2.8 builds for me on
Solaris, but the latest CVS sources do not. JKJ, please fix.
We need to be able to support any compiler on any system.
An additional comment: Because XEmacs rewrites so many of the macros
shipped with autoconf, I rejected the idea of providing an aclocal.m4
in a past configure hacking project.
make[1]: Entering directory
`/export/host/mulelab/mulework/xemacs/martin/x/build/solaris/mos/src'
/net/etlsolon/export/opt/SUNWspro/bin/cc -v -fast -xO5 -L/usr/local/lib -L/usr/ccs/lib
-xildoff -R/usr/local/lib:/usr/dt/lib -L/usr/dt/lib -L/usr/local/lib -Wl,-Bexport -o
temacs abbrev.o alloc.o blocktype.o buffer.o bytecode.o callint.o callproc.o casefiddle.o
casetab.o chartab.o cmdloop.o cmds.o console.o console-stream.o data.o device.o dired.o
doc.o doprnt.o dynarr.o editfns.o elhash.o emacs.o eval.o events.o unexsol2.o tooltalk.o
dgif_lib.o gif_io.o menubar.o scrollbar.o dialog.o toolbar.o menubar-x.o scrollbar-x.o
dialog-x.o toolbar-x.o gui-x.o mule.o mule-ccl.o mule-charset.o mule-coding.o
file-coding.o input-method-xlib.o mule-wnnfns.o sunplay.o console-tty.o device-tty.o
event-tty.o frame-tty.o objects-tty.o redisplay-tty.o cm.o terminfo.o event-unixoid.o
database.o sysdll.o emodules.o process-unix.o event-stream.o extents.o faces.o fileio.o
filemode.o floatfns.o fns.o font-lock.o frame.o general.o getloadavg.o glyphs.o
glyphs-eimage.o glyphs-widget.o gui.o hash.o imgproc.o indent.o insdel.o intl.o keymap.o
line-number.o lread.o lstream.o macros.o marker.o md5.o minibuf.o objects.o opaque.o
print.o process.o profile.o rangetab.o redisplay.o redisplay-output.o regex.o search.o
signal.o sound.o specifier.o strftime.o symbols.o syntax.o sysdep.o undo.o balloon_help.o
balloon-x.o console-x.o device-x.o event-Xt.o frame-x.o glyphs-x.o objects-x.o
redisplay-x.o xgccache.o xselect.o widget.o window.o lastfile.o gmalloc.o vm-limit.o
ralloc.o EmacsFrame.o EmacsShell.o TopLevelEmacsShell.o TransientEmacsShell.o
EmacsManager.o ../lwlib/liblw.a -lwnn -lXaw -lpng -ljpeg -lz -lXpm -ltt -lXmu -lXt
-lXext -lX11 -lSM -lICE -ldl -lgdbm -lcurses /usr/demo/SOUND/lib/libaudio.a -lintl -lkvm
-lkstat -lm -lsocket -lnsl -lelf -lgen -ldl
ld: fatal: option -B has illegal argument `export'
ld: fatal: Flags processing errors
make[1]: *** [temacs] Error 1
My configure line is:
==> /work1/home/martin/x/ws/dev/configure --extra-verbose --with-gnu-make
--package-path=~/.xemacs:/usr/users/martin/x/packages/:/usr/users/martin/x/mule-packages/
--site-prefixes=/usr/local '--compiler=/net/etlsolon/export/opt/SUNWspro/bin/cc
-v' --error-checking=none --debug=no --memory-usage-stats=no --use-union-type=no
--with-mule --with-pop --with-dragndrop=no --use-minimal-tagbits=no
--use-indexed-lrecord-implementation=no '--cflags=-fast -xO5'
--prefix=/usr/users/martin/x/inst --exec-prefix=/usr/users/martin/x/inst/solaris