From mboxrd@z Thu Jan 1 00:00:00 1970 From: Satoru Takabayashi To: guile-emacs@sourceware.cygnus.com Subject: Re: make failed on FreeBSD 3.4R Date: Thu, 01 Jun 2000 06:02:00 -0000 Message-id: <20000601220530B.satoru-t@is.aist-nara.ac.jp> References: <20000528220616X.satoru-t@is.aist-nara.ac.jp> X-SW-Source: 2000-q2/msg00057.html Sorry for late reply. Keisuke Nishida wrote: >> ! $EMACS -batch -l .tmp.el 2>&1 |tail -1 > .tmp.out > >Hmm... Could you try this instead? > > $EMACS -q --no-site-file -batch -l .tmp.el 2> .tmp.out It worked well. For confirmation, I commented out the following line in configure.in rm -f .tmp.el .tmp.out and checked the contents of .tmp.out after running configure. It contains: /usr/local/share/emacs/20.6/etc/ >> ! emacsver=`sed 's/^[[^0-9]]*\/\([[0-9\.]]*\)\/.*/\1/' .tmp.out` > >This looks better. But still it has a problem. You can't install >emacs in /d0/share/emacs/20.6/..., for example. How about this one? > > emacsver=`sed 's/^.*\/\([[0-9]][[0-9\.]]*\)\/.*/\1/' .tmp.out` Great. I prefer to use ! as a delimiter for clarity. emacsver=`sed 's!^.*/\([[0-9]][[0-9\.]]*\)/.*!\1!' .tmp.out` -- Satoru Takabayashi