From: Maurice Lombardi Newsgroups: comp.os.msdos.djgpp Subject: bug in autoscan ? Date: Fri, 27 Aug 1999 21:22:15 -0700 Organization: Universite Jospeh Fourier - Grenoble 1 Message-ID: <37C763F7.2DE8FAC1@ujf-grenoble.fr> NNTP-Posting-Host: knautie.ujf-grenoble.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: zak.ujf-grenoble.fr 935781972 1502 193.54.234.27 (27 Aug 1999 19:26:12 GMT) X-Complaints-To: abuse AT ujf-grenoble DOT fr NNTP-Posting-Date: 27 Aug 1999 19:26:12 GMT X-Mailer: Mozilla 4.08 [fr] (Win16; I) Lines: 25 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com autoscan (from the last official port) fails (running in plain dos under bash shell). It seems that it is because autoscan is a perl script, not a shell script. It does not properly translate the line (number 24) $datadir = $ENV{"AC_MACRODIR"} || "${DJDIR}/share/autoconf"; replacing it by the two lines $prefix = $ENV{"DJDIR"}; $datadir = $ENV{"AC_MACRODIR"} || "${prefix}/share/autoconf"; (modelled after automake: I know absolutely nothing about perl) it works. Hope this helps -- Maurice Lombardi Laboratoire de Spectrometrie Physique, Universite Joseph Fourier de Grenoble, BP87 38402 Saint Martin d'Heres Cedex FRANCE Tel: 33 (0)4 76 51 47 51 Fax: 33 (0)4 76 51 45 44 mailto:Maurice DOT Lombardi AT ujf-grenoble DOT fr