[3ddesktop-dev] configure.ac buglet

Hi,

 in configure.ac it reads:

AC_CHECK_PROG([IMLIB2_CONFIG_IN_PATH],[imlib2-config],[yes],[no])
if test $IMLIB2_CONFIG_IN_PATH = no; then

 lookig at "(autoconf.info.gz)Generic Programs" I have:

 - Macro: AC_CHECK_PROGS (VARIABLE, PROGS-TO-CHECK-FOR,
          [VALUE-IF-NOT-FOUND], [PATH])
     Check for each program in the whitespace-separated list
     PROGS-TO-CHECK-FOR exists on the `PATH'.  If it is found, set
     VARIABLE to the name of that program.  Otherwise, continue
     checking the next program in the list.  If none of the programs in
     the list are found, set VARIABLE to VALUE-IF-NOT-FOUND [...]

 Pseudo patch:

-AC_CHECK_PROG([IMLIB2_CONFIG_IN_PATH],[imlib2-config],[yes],[no])
+AC_CHECK_PROG([IMLIB2_CONFIG_IN_PATH],[imlib2-config],[no])
 if test $IMLIB2_CONFIG_IN_PATH = no; then

 Cheers,

 Marcelo

Other related posts: