]> git.lyx.org Git - lyx.git/blobdiff - configure.ac
bug 2032 test commit
[lyx.git] / configure.ac
index db689d8fae088c029939851b3731b2da2d6837cc..ac2ebfcb5ffe7ff6c0749ef26860c46a10f5f5e5 100644 (file)
@@ -31,7 +31,8 @@ done
 AC_PROG_MAKE_SET
 AC_PROG_INSTALL
 
-AC_SUBST(AWK,[gawk])
+AC_PROG_AWK
+test "$AWK" = gawk && AWK="gawk --posix"
 
 #AC_PROG_RANLIB
 AC_CHECK_PROG(KPSEWHICH, kpsewhich, kpsewhich, :)
@@ -217,6 +218,9 @@ dnl qt build will fail without moc or uic
          if test -z "$UIC"; then
            LYX_ERROR([uic binary not found !])
          fi
+         if test -z "$QT_LIB"; then
+           LYX_ERROR([qt library not found !])
+         fi
       ;;
     *)
          LYX_ERROR(Unknown frontend '$frontend');;