summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure33
1 files changed, 30 insertions, 3 deletions
diff --git a/configure b/configure
index ba1dd45..192ff3a 100755
--- a/configure
+++ b/configure
@@ -623,6 +623,8 @@ ac_subst_vars='am__EXEEXT_FALSE
am__EXEEXT_TRUE
LTLIBOBJS
LIBOBJS
+DESKTOP_ENTRY_FALSE
+DESKTOP_ENTRY_TRUE
WINDOWS_FALSE
WINDOWS_TRUE
UNIX_FALSE
@@ -733,6 +735,7 @@ enable_silent_rules
enable_dependency_tracking
with_ncurses
with_ncursesw
+enable_desktop_entry
'
ac_precious_vars='build_alias
host_alias
@@ -1384,6 +1387,7 @@ Optional Features:
do not reject slow dependency extractors
--disable-dependency-tracking
speeds up one-time build
+ --enable-desktop-entry install a desktop entry (default is no)
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
@@ -5722,6 +5726,24 @@ else
fi
+# enable/disable options
+# Check whether --enable-desktop-entry was given.
+if test "${enable_desktop_entry+set}" = set; then :
+ enableval=$enable_desktop_entry; desktop_entry=$enableval
+else
+ desktop_entry=no
+fi
+
+
+ if test "$desktop_entry" = "yes"; then
+ DESKTOP_ENTRY_TRUE=
+ DESKTOP_ENTRY_FALSE='#'
+else
+ DESKTOP_ENTRY_TRUE='#'
+ DESKTOP_ENTRY_FALSE=
+fi
+
+
ac_config_files="$ac_config_files Makefile src/Makefile docs/Makefile data/Makefile"
cat >confcache <<\_ACEOF
@@ -5901,6 +5923,10 @@ if test -z "${WINDOWS_TRUE}" && test -z "${WINDOWS_FALSE}"; then
as_fn_error $? "conditional \"WINDOWS\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
+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
: "${CONFIG_STATUS=./config.status}"
ac_write_fail=0
@@ -7047,7 +7073,8 @@ cat << EOF
** Configuration summary for ${PACKAGE_NAME} ${PACKAGE_VERSION}
- Prefix: ${prefix}
- Compiler: ${CC} ${CFLAGS} ${CPPFLAGS}
- Libraries: ${LIBS}
+ Prefix: ${prefix}
+ Compiler: ${CC} ${CFLAGS} ${CPPFLAGS}
+ Libraries: ${LIBS}
+ Desktop Entry: ${desktop_entry}
EOF