buildsys  Check-in [540c37570d]

Overview
Comment:Move m4 to build-aux, update example configure.ac
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 540c37570d7603c375c1c0c2c55732a8caa4b74bc457cf28cac18b80803deaa0
User & Date: js on 2020-08-29 14:24:11
Other Links: manifest | tags
Context
2020-09-27
03:36
Don't use --timestamp=none with codesign check-in: f123f063df user: js tags: trunk
2020-08-29
14:24
Move m4 to build-aux, update example configure.ac check-in: 540c37570d user: js tags: trunk
2020-06-06
22:34
Add STATIC_AMIGA_LIB check-in: 66a1703bc1 user: js tags: trunk
Changes

Name change from m4/buildsys.m4 to build-aux/m4/buildsys.m4.

Modified configure.ac from [e1de09361e] to [d0014a6b30].

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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
dnl
dnl  This is an example configure.ac that demonstrates how to use the buildsys.
dnl  You should not just copy it, but edit it to fit your needs!
dnl
dnl  To generate the configure script, call:
dnl    aclocal -I m4
dnl    autoconf
dnl

dnl Specify name, version and contact e-mail of the package.
AC_INIT(name, version, e-mail)
BUILDSYS_INIT

dnl Specifies where your sources are.
AC_CONFIG_SRCDIR(src)











dnl If your package uses C, you want a C compiler and a C preprocessor
AC_PROG_CC
AC_PROG_CPP
AC_PROG_INSTALL

dnl The buildsys might require ln -s to install libraries.
dnl Uncomment if you are compiling a library.
dnl AC_PROG_LN_S

dnl If you want to build static libraries (for example build part of your
dnl project as a static library and link it to the final program later so you
dnl can easier split your program into multiple directories), you need to
dnl uncomment the following line.


dnl AC_PATH_TOOL(AR, ar)

dnl If you want to build a shared library, you need to call BUILDSYS_SHARED_LIB.
dnl It will automatically set the required LIB_* and PLUGIN_* variables.
dnl See m4/buildsys.m4 for more details.
dnl Uncomment the following line if you want to build a shared library.
dnl BUILDSYS_SHARED_LIB

dnl If your program uses plugins and should run on win32 as well, you need to
dnl uncomment the following line
dnl BUILDSYS_PROG_IMPLIB

dnl If you don't need any extra variables
AC_CONFIG_FILES(buildsys.mk)
dnl If you need any extra variables, they go to extra.mk.
dnl If you use extra variables, comment the line above and uncomment the line
dnl below.
dnl AC_CONFIG_FILES([buildsys.mk extra.mk])

dnl Generate config.h if we did some defines.
dnl AC_CONFIG_HEADERS(config.h)

dnl Write out configure script
AC_OUTPUT











<
<


>
>
>
>
>
>
>
>
>
>













|
>
>



















<
<
<


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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58



59
60
dnl
dnl  This is an example configure.ac that demonstrates how to use the buildsys.
dnl  You should not just copy it, but edit it to fit your needs!
dnl
dnl  To generate the configure script, call:
dnl    aclocal -I m4
dnl    autoconf
dnl

dnl Specify name, version and contact e-mail of the package.
AC_INIT(name, version, e-mail)


dnl Specifies where your sources are.
AC_CONFIG_SRCDIR(src)
AC_CONFIG_AUX_DIR(build-aux)
AC_CONFIG_MACRO_DIR(build-aux/m4)

for i in configure.ac build-aux/m4/*; do
	AS_IF([test $i -nt configure], [
		AC_MSG_ERROR([$i is newer than configure! Run ./autogen.sh!])
	])
done

BUILDSYS_INIT

dnl If your package uses C, you want a C compiler and a C preprocessor
AC_PROG_CC
AC_PROG_CPP
AC_PROG_INSTALL

dnl The buildsys might require ln -s to install libraries.
dnl Uncomment if you are compiling a library.
dnl AC_PROG_LN_S

dnl If you want to build static libraries (for example build part of your
dnl project as a static library and link it to the final program later so you
dnl can easier split your program into multiple directories), you need to
dnl uncomment the following line. This is also needed if you build .a files in
dnl subdirectories that you then link into a shared library or application in 
dnl the end.
dnl AC_PATH_TOOL(AR, ar)

dnl If you want to build a shared library, you need to call BUILDSYS_SHARED_LIB.
dnl It will automatically set the required LIB_* and PLUGIN_* variables.
dnl See m4/buildsys.m4 for more details.
dnl Uncomment the following line if you want to build a shared library.
dnl BUILDSYS_SHARED_LIB

dnl If your program uses plugins and should run on win32 as well, you need to
dnl uncomment the following line
dnl BUILDSYS_PROG_IMPLIB

dnl If you don't need any extra variables
AC_CONFIG_FILES(buildsys.mk)
dnl If you need any extra variables, they go to extra.mk.
dnl If you use extra variables, comment the line above and uncomment the line
dnl below.
dnl AC_CONFIG_FILES([buildsys.mk extra.mk])




dnl Write out configure script
AC_OUTPUT