mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-08-22 13:57:32 +02:00
Add a check for 'windres' to configure.ac,
if Windows GUI or Console
This commit is contained in:
@@ -609,6 +609,22 @@ case $host_os in
|
||||
esac
|
||||
AM_CONDITIONAL([WINCONSOLE], [test "x$has_winconsole" = xyes])
|
||||
|
||||
if test "x$has_winconsole" = xyes; then
|
||||
AC_CHECK_PROGS([WINRES], [windres windres.exe], [no])
|
||||
if test "x$WINRES" = xno; then
|
||||
AC_MSG_WARN([If you want adding the icon you should install windres])
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "x$with_wingui" = xyes; then
|
||||
AC_CHECK_PROGS([WINRES], [windres windres.exe], [no])
|
||||
if test "x$WINRES" = xno; then
|
||||
AC_MSG_WARN([If you want adding the icon you should install windres])
|
||||
fi
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL([WINRESOURCE], [test "x$WINRES" = xwindres])
|
||||
|
||||
case $with_wingui in
|
||||
yes )
|
||||
AC_DEFINE([X_DISPLAY_MISSING])
|
||||
|
||||
Reference in New Issue
Block a user