summaryrefslogtreecommitdiff
path: root/contrib/site-conf/README
blob: b28e545288c5b05be621141b0718d675d9e8f3e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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