View | Details | Raw Unified
Collapse All | Expand All

(-) configure (-4 / +7 lines)
 Lines 66-78    Link Here 
search_includes() {
search_includes() {
  for dir in ${DIRS};  do
  for dir in ${DIRS};  do
    for dbn in "" ${subdirs}; do
    for dbn in "" ${subdirs}; do
      if test -r ${dir}/include${dbn}/$1; then
      for inc_path in `ls -dr ${dir}/include${dbn} 2> /dev/null`; do
          add_include ${dir}/include${dbn}
        if test -r "${inc_path}/$1"; then
          echo Found:  $1 at ${dir}/include${dbn}
          add_include ${inc_path}
          echo Found:  $1 at ${inc_path}
          return 0
          return 0
      fi
        fi
      done
    done
    done
  done
  done
  return 1
  return 1
}
}