summaryrefslogtreecommitdiffstats
path: root/admin/configure.in.bot.end
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-07-31 23:51:05 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-07-31 23:51:05 +0900
commitbb90a957b5a2e22791baae4d3f777c39a8f77879 (patch)
tree813222c1b3f4f8c5377d74314eafa83c5a972ec5 /admin/configure.in.bot.end
downloadmathemagics-bb90a957b5a2e22791baae4d3f777c39a8f77879.tar.gz
mathemagics-bb90a957b5a2e22791baae4d3f777c39a8f77879.zip
Initial code import from OpenSuSE package.
https://download.opensuse.org/repositories/KDE:/KDE3/openSUSE_Leap_15.1/src/kde3-mathemagics-1.1-lp151.6.1.src.rpm Original package is licenced under GPL 2.0. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'admin/configure.in.bot.end')
-rw-r--r--admin/configure.in.bot.end30
1 files changed, 30 insertions, 0 deletions
diff --git a/admin/configure.in.bot.end b/admin/configure.in.bot.end
new file mode 100644
index 0000000..14da279
--- /dev/null
+++ b/admin/configure.in.bot.end
@@ -0,0 +1,30 @@
+# Check if KDE_SET_PREFIX was called, and --prefix was passed to configure
+if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then
+ # And if so, warn when they don't match
+ if test "$kde_libs_prefix" != "$given_prefix"; then
+ # And if kde doesn't know about the prefix yet
+ echo ":"`kde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null
+ if test $? -ne 0; then
+ echo ""
+ echo "Warning: you chose to install this package in $given_prefix,"
+ echo "but KDE was found in $kde_libs_prefix."
+ echo "For this to work, you will need to tell KDE about the new prefix, by ensuring"
+ echo "that KDEDIRS contains it, e.g. export KDEDIRS=$given_prefix:$kde_libs_prefix"
+ echo "Then restart KDE."
+ echo ""
+ fi
+ fi
+fi
+
+if test "$all_tests" = "bad"; then
+ if test ! "$cache_file" = "/dev/null"; then
+ echo ""
+ echo "Please remove the file $cache_file after changing your setup"
+ echo "so that configure will find the changes next time."
+ echo ""
+ fi
+else
+ echo ""
+ echo "Good - your configure finished. Start make now"
+ echo ""
+fi