[syslinux] broken configure in tftp-hpa 0.37

Jaakko Niemi liiwi at lonesom.pp.fi
Tue Jul 20 08:43:52 PDT 2004


...
checking for library containing xmalloc... no
./configure: line 11837: case: command not found
./configure: line 11838: xmalloc.o: command not found
./configure: line 11839: * xmalloc.o: command not found
./configure: line 11840: xmalloc.o *: command not found
./configure: line 11841: * xmalloc.o *: command not found
./configure: line 11843: syntax error near unexpected token `;;'
./configure: line 11843: ` ;;'

 Needed this patch to get things rolling with autoconf 2.59:

--- tftp-hpa-0.36/configure.in  2004-01-15 22:15:46.000000000 +0200
+++ tftp-hpa-0.37/configure.in  2004-07-20 18:32:24.000000000 +0300
@@ -129,9 +129,12 @@
 OBJROOT=`pwd`
 
 LIBXTRA=false
-AC_SEARCH_LIBS(xmalloc, iberty, , LIBXTRA=true AC_LIBOBJ(xmalloc))
-AC_SEARCH_LIBS(xstrdup, iberty, , LIBXTRA=true AC_LIBOBJ(xstrdup))
-AC_SEARCH_LIBS(bsd_signal, bsd, , LIBXTRA=true AC_LIBOBJ(bsdsignal))
+AC_SEARCH_LIBS(xmalloc, iberty, ,LIBXTRA=true
+[AC_LIBOBJ(xmalloc)])
+AC_SEARCH_LIBS(xstrdup, iberty, ,LIBXTRA=true
+[AC_LIBOBJ(xstrdup)])
+AC_SEARCH_LIBS(bsd_signal, bsd, ,LIBXTRA=true
+[AC_LIBOBJ(bsdsignal)])
 if $LIBXTRA; then
        XTRALIBS="$OBJROOT/lib/libxtra.a $XTRALIBS"
 fi




More information about the Syslinux mailing list