]> git.lyx.org Git - lyx.git/commitdiff
Show help for WINDRES in configure
authorGeorg Baum <baum@lyx.org>
Thu, 5 May 2016 18:28:28 +0000 (20:28 +0200)
committerRichard Heck <rgheck@lyx.org>
Sun, 29 May 2016 21:55:43 +0000 (17:55 -0400)
This is the official way to declare environment variables

configure.ac

index 0cc706c60ec71370129c0f2389788cd96324f69f..7b8b742a63947cb8e7483dff4abe25d553f204aa 100644 (file)
@@ -118,7 +118,7 @@ AC_SUBST(LIBPSAPI)
 AC_CHECK_LIB(gdi32, main)
 AC_CHECK_LIB(ole32, main)
 test x"$WINDRES" = x && WINDRES=windres
-AC_SUBST(WINDRES)
+AC_ARG_VAR(WINDRES, [windows resource compiler command])
 
 LYX_USE_INCLUDED_BOOST
 LYX_USE_INCLUDED_MYTHES