summaryrefslogtreecommitdiff
path: root/contrib/site-conf/README
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-11-15 10:44:22 +0000
committerRichard Purdie <rpurdie@rpsys.net>2006-11-15 10:44:22 +0000
commit528450f67d00cd3cad700d93cbe88bff666dea84 (patch)
tree119422052188818eb8da2bcdf3bed73763d1a9ff /contrib/site-conf/README
parentc01740ed8f1e0ad54311af8677210462df368046 (diff)
parentcd0d5e6081b0ea60ebfcf0b455a18d56c8c25e32 (diff)
merge of '7c5dba6a4cc7c7a653ff9454f9d2787304cdc736'
and 'a92b3f38a2b90eca4b4e230c498fbe32f7013525'
Diffstat (limited to 'contrib/site-conf/README')
-rw-r--r--contrib/site-conf/README30
1 files changed, 30 insertions, 0 deletions
diff --git a/contrib/site-conf/README b/contrib/site-conf/README
new file mode 100644
index 0000000000..b28e545288
--- /dev/null
+++ b/contrib/site-conf/README
@@ -0,0 +1,30 @@
+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