summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorLouie S <louie@example.com>2023-03-04 13:43:45 -0800
committerLouie S <louie@example.com>2023-03-04 13:43:45 -0800
commit00403d8413157e08eeaba7a1932f17c3c7b0758e (patch)
tree6f2b20ff98092bd7cbac529d64bbd31b2519b909 /configure
parent712af9ea3cb3d0de866221ade19341fd114f7000 (diff)
Configure flag for disabling icon embed for windows executable
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure25
1 files changed, 24 insertions, 1 deletions
diff --git a/configure b/configure
index 12c0cdc..79c7efb 100755
--- a/configure
+++ b/configure
@@ -623,6 +623,8 @@ ac_subst_vars='am__EXEEXT_FALSE
am__EXEEXT_TRUE
LTLIBOBJS
LIBOBJS
+EMBED_ICON_FALSE
+EMBED_ICON_TRUE
DESKTOP_ENTRY_FALSE
DESKTOP_ENTRY_TRUE
WINDOWS_FALSE
@@ -736,6 +738,7 @@ enable_dependency_tracking
with_ncurses
with_ncursesw
enable_desktop_entry
+enable_embed_icon
'
ac_precious_vars='build_alias
host_alias
@@ -1388,6 +1391,7 @@ Optional Features:
--disable-dependency-tracking
speeds up one-time build
--enable-desktop-entry install a desktop entry (default is no)
+ --disable-embed-icon embed icon in windows executable (default is yes)
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
@@ -5734,7 +5738,6 @@ else
desktop_entry=no
fi
-
if test "$desktop_entry" = "yes"; then
DESKTOP_ENTRY_TRUE=
DESKTOP_ENTRY_FALSE='#'
@@ -5744,6 +5747,21 @@ else
fi
+embed_icon=yes
+# Check whether --enable-embed_icon was given.
+if test "${enable_embed_icon+set}" = set; then :
+ enableval=$enable_embed_icon; embed_icon=no
+fi
+
+ if test "$embed_icon" = "yes"; then
+ EMBED_ICON_TRUE=
+ EMBED_ICON_FALSE='#'
+else
+ EMBED_ICON_TRUE='#'
+ EMBED_ICON_FALSE=
+fi
+
+
ac_config_files="$ac_config_files Makefile src/Makefile docs/Makefile data/Makefile spec/terminal-media-launcher.spec"
cat >confcache <<\_ACEOF
@@ -5927,6 +5945,10 @@ if test -z "${DESKTOP_ENTRY_TRUE}" && test -z "${DESKTOP_ENTRY_FALSE}"; then
as_fn_error $? "conditional \"DESKTOP_ENTRY\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
+if test -z "${EMBED_ICON_TRUE}" && test -z "${EMBED_ICON_FALSE}"; then
+ as_fn_error $? "conditional \"EMBED_ICON\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
: "${CONFIG_STATUS=./config.status}"
ac_write_fail=0
@@ -7078,4 +7100,5 @@ cat << EOF
Compiler: ${CC} ${CFLAGS} ${CPPFLAGS}
Libraries: ${LIBS}
Desktop Entry: ${desktop_entry}
+ Embed Icon: ${embed_icon}
EOF