freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Devel] unix configure script bug


From: John E. Tysko
Subject: [Devel] unix configure script bug
Date: Fri, 30 Apr 2004 10:41:24 -0400 (EDT)

  In the build/unix directory, When running the configure script on a SUn with
Solaris 9, the egrep test fails using /bin/sh. The variable ac_max in the line

    if test $ac_count -gt ${ac_max-0}; then

is undefined. IF you add the line:

ac_max=0

to the start of the test, as in:



  ac_count=0
  ac_max=0
  echo $ECHO_N "0123456789$ECHO_C" >"$tmp/conftest.in"
 echo "       len check   $ac_path_EGREP" >&5
  while :
  do
    cat "$tmp/conftest.in" "$tmp/conftest.in" >"$tmp/conftest.tmp"
    mv "$tmp/conftest.tmp" "$tmp/conftest.in"


it works.

John TYsko




reply via email to

[Prev in Thread] Current Thread [Next in Thread]