aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/configure
diff options
context:
space:
mode:
authorJuergen Kahrs <Juergen.Kahrs@googlemail.com>2013-05-19 12:36:51 +0200
committerJuergen Kahrs <Juergen.Kahrs@googlemail.com>2013-05-19 12:36:51 +0200
commit540418bc7d1f84f7f1cdabbc9ccb093447f1c320 (patch)
tree3da2fc71288f1c53aa8ad39502a6dbaaa172ae3b /cmake/configure
parent2cd2431737dd088c4eb957e27aa6a1edb17aa88e (diff)
downloadegawk-540418bc7d1f84f7f1cdabbc9ccb093447f1c320.tar.gz
egawk-540418bc7d1f84f7f1cdabbc9ccb093447f1c320.tar.bz2
egawk-540418bc7d1f84f7f1cdabbc9ccb093447f1c320.zip
configure script stub as suggested by Arnold.
Diffstat (limited to 'cmake/configure')
-rw-r--r--cmake/configure19
1 files changed, 19 insertions, 0 deletions
diff --git a/cmake/configure b/cmake/configure
new file mode 100644
index 00000000..f79d4c45
--- /dev/null
+++ b/cmake/configure
@@ -0,0 +1,19 @@
+# On 2013-05-14 Arnold wrote in an e-mail:
+
+# <QUOTE)
+# I think that using CMake would be more palatable if there is also a simple
+# configure wrapper that can be used by people who build distributions. This would
+# mean things like
+#
+# configure CC=XXXX # XXXX in { gcc, clang, tcc } or native platform cc
+# configure --prefix=/path/to/install
+#
+# And the few other current configure options like --with-whiny-user-strftime,
+# --disable-nls, etc. I don't know if we need all the standard configure options,
+# but I do want the ones I've added in configure.ac.
+# </QUOTE)
+
+# Anyone using this script still needs an out-of-source build directory.
+# This script should first check if it was invoked from outside the source directory.
+# Then it shall evaluate all the options and translate the options into CMake variables.
+# Finally the script shall invoke CMake.