summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/site-conf/README23
-rw-r--r--contrib/site-conf/aclocal.m42
-rw-r--r--contrib/site-conf/confifure.ac2
-rw-r--r--contrib/site-conf/configure.ac11
4 files changed, 36 insertions, 2 deletions
diff --git a/contrib/site-conf/README b/contrib/site-conf/README
index 08976970d7..b28e545288 100644
--- a/contrib/site-conf/README
+++ b/contrib/site-conf/README
@@ -4,4 +4,27 @@ Unified source of autoconf tests used to generate the site results
Executing this on a new platform will generate the necessary results
to write the right site-conf.
+1.) creating a configure script
+ '''use autoreconf -I m4'''
+
+
+2.) adding a test
+ '''vim m4/yourpackage.m4'''
+ '''add the functions'''
+ '''AC_DEFUN([OE_CHECK_YOURPACKAGE],
+ [
+ CALL_YOUR_FUNCTION_ONE_BY_ONE
+ ])
+ '''
+
+ Add to
+ '''vim aclocal.m4'''
+ '''m4_include(yourpackage,m4)'''
+
+ Add to
+ '''vim configure.ac'''
+ '''OE_CHECK_YOURPACKAGE
+
+
+
Copy and paste the autoconf test to an approriate file
diff --git a/contrib/site-conf/aclocal.m4 b/contrib/site-conf/aclocal.m4
new file mode 100644
index 0000000000..8d4b7eed8c
--- /dev/null
+++ b/contrib/site-conf/aclocal.m4
@@ -0,0 +1,2 @@
+dnl # local file..
+m4_include(builtin.m4)
diff --git a/contrib/site-conf/confifure.ac b/contrib/site-conf/confifure.ac
deleted file mode 100644
index 8b02750dec..0000000000
--- a/contrib/site-conf/confifure.ac
+++ /dev/null
@@ -1,2 +0,0 @@
-AC_INIT([zeckes-tests], [aleph-1], [noreply@::1])
-AC_OUTPUT
diff --git a/contrib/site-conf/configure.ac b/contrib/site-conf/configure.ac
new file mode 100644
index 0000000000..0f08732a08
--- /dev/null
+++ b/contrib/site-conf/configure.ac
@@ -0,0 +1,11 @@
+AC_INIT([zeckes-tests], [aleph-1], [noreply@::1])
+AC_PREREQ([2.60])
+
+#
+#AC_CONFIG_MACRO_DIR([m4])
+AC_GNU_SOURCE
+
+OE_CHECK_BUILTIN
+
+
+AC_OUTPUT([])