From: Bruno H. <br...@cl...> - 2008-02-25 01:08:11
|
Hi, When someone is installing clisp for the first time, he can look at $ ./configure --help to see which options are available. This doesn't list --with-libsigsegv-prefix. So he does not pass this option. And then at the end the configuration tells him "you had better pass --with-libsigsegv-prefix". This is frustrating because the option was not presented as an option in the first place. This fixes it. 2008-02-24 Bruno Haible <br...@cl...> * configure (info_help): Mention the --with[out]-lib*-prefix options. Sort the other options like autoconf does. *** configure 4 Feb 2008 01:53:10 -0000 1.117 --- configure 25 Feb 2008 01:03:19 -0000 *************** *** 58,67 **** documentation in HTML format --dvidir=DIR sets the installation directory for documentation in TeX DVI format - --psdir=DIR sets the installation directory for - documentation in PostScript format --pdfdir=DIR sets the installation directory for documentation in PDF format --elispdir=DIR sets the installation directory for Emacs Lisp files --vimdir=DIR sets the installation directory for VIM files --host=HOST specify host in CPU-VENDOR-OS format (just --- 58,67 ---- documentation in HTML format --dvidir=DIR sets the installation directory for documentation in TeX DVI format --pdfdir=DIR sets the installation directory for documentation in PDF format + --psdir=DIR sets the installation directory for + documentation in PostScript format --elispdir=DIR sets the installation directory for Emacs Lisp files --vimdir=DIR sets the installation directory for VIM files --host=HOST specify host in CPU-VENDOR-OS format (just *************** *** 83,88 **** --- 83,98 ---- via OS threads [highly experimental - use at your own risk] FLAVORs = POSIX_THREADS POSIXOLD_THREADS SOLARIS_THREADS C_THREADS WIN32_THREADS + --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib + --without-libiconv-prefix don't search for libiconv in includedir and libdir + --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib + --without-libintl-prefix don't search for libintl in includedir and libdir + --with-libsigsegv-prefix[=DIR] search for libsigsegv in DIR/include and DIR/lib + --without-libsigsegv-prefix don't search for libsigsegv in includedir and libdir + --with-libtermcap-prefix=DIR search for ncurses and termcap in DIR + --with-libreadline-prefix[=DIR] search for libreadline in DIR/include and DIR/lib + --without-libreadline-prefix don't search for libreadline in includedir and libdir + --with-lightning-prefix additional place to look for the lightning headers --with-jitc=FLAVOR use a given Just-In-Time Compiler. The only flavor at this time is lightning (GNU lightning must be installed in the standard place). |
From: Sam S. <sd...@gn...> - 2008-02-25 01:19:31
|
Bruno Haible wrote: > Hi, > > When someone is installing clisp for the first time, he can look at > $ ./configure --help > to see which options are available. This doesn't list --with-libsigsegv-prefix. > So he does not pass this option. And then at the end the configuration tells > him "you had better pass --with-libsigsegv-prefix". This is frustrating because > the option was not presented as an option in the first place. not sure this makes all that much sense, but OK. > + --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib > + --without-libiconv-prefix don't search for libiconv in includedir and libdir > + --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib > + --without-libintl-prefix don't search for libintl in includedir and libdir > + --with-libsigsegv-prefix[=DIR] search for libsigsegv in DIR/include and DIR/lib > + --without-libsigsegv-prefix don't search for libsigsegv in includedir and libdir > + --with-libtermcap-prefix=DIR search for ncurses and termcap in DIR > + --with-libreadline-prefix[=DIR] search for libreadline in DIR/include and DIR/lib > + --without-libreadline-prefix don't search for libreadline in includedir and libdir > + --with-lightning-prefix additional place to look for the lightning headers yuk!!! why not just "./src/configure --help| grep 'with.*prefix'" |
From: Bruno H. <br...@cl...> - 2008-02-25 02:19:52
|
Sam wrote: > > + --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib > > + --without-libiconv-prefix don't search for libiconv in includedir and libdir > > + --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib > > + --without-libintl-prefix don't search for libintl in includedir and libdir > > + --with-libsigsegv-prefix[=DIR] search for libsigsegv in DIR/include and DIR/lib > > + --without-libsigsegv-prefix don't search for libsigsegv in includedir and libdir > > + --with-libtermcap-prefix=DIR search for ncurses and termcap in DIR > > + --with-libreadline-prefix[=DIR] search for libreadline in DIR/include and DIR/lib > > + --without-libreadline-prefix don't search for libreadline in includedir and libdir > > + --with-lightning-prefix additional place to look for the lightning headers > > yuk!!! > why not just "./src/configure --help| grep 'with.*prefix'" Feel free to simplify what I wrote. I had not thought of this trick. In gettext I use this (which, unlike grep, does not have problems with a help that spans two or three lines): esyscmd([{ cd src && autoconf --trace=AC_ARG_ENABLE:'$n([$1],[$2])' --trace=AC_ARG_WITH:'$n([$1],[$2])' --trace=AC_ARG_VAR:'$n($@)' && cd ..; } | sed -f build-aux/ac-help.sed ]) Bruno |