[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LYNX-DEV what is the difference between "--with-cfg-file" and "--lib
Re: LYNX-DEV what is the difference between "--with-cfg-file" and "--libdir"
Sat, 8 Nov 1997 07:38:18 -0500 (EST)
> I was surprised that with the option "--with-cfg-file=$HOME/.usr/lib",
> the autoconf script made a new directory "lib" and put "lynx.cfg" there.
> Could you explain the difference between setting "--libdir" and the
> "--with-cfg-file" option. Why do we need both?
> ./configure --exec-prefix=$HOME --bindir=$HOME/.lynx \
> --mandir=$HOME/.man \
> --with-cfg-file=$HOME/.usr/lib \
> % make install
> ./mkdirs.sh /home/nelsonhe/lib
> mkdir /home/nelsonhe/lib
> /usr/bin/install -c -m 644 lynx.cfg /home/nelsonhe/lib/lynx.cfg
that still looks like (my) bug. I'd have expected it to mkdir $HOME/.usr/lib
(will check this morning).
You need both options because the original request was for the ability to
put lynx.cfg in an unrelated directory (i.e., /etc). Making it work is
tedious (for lack of a better term) since the actual values for --libdir
(and --prefix and --exec-prefix) have to be derived, since their evaluation
is postponed until the end of the configure script (so that's why I have
to do more work...).
Thomas E. Dickey
; To UNSUBSCRIBE: Send a mail message to address@hidden
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.