Check-in [bc1a8ee8dd]
Overview
Comment:Updated correctly build static/shared based on --enable-static
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: bc1a8ee8dd99b926b5690b0f92fcf887678c07dc
User & Date: rkeene on 2014-05-02 04:31:15
Other Links: manifest | tags
Context
2014-05-02
04:42
Updated to obey "--libdir" configure directive check-in: 05dbf4d097 user: rkeene tags: trunk
04:31
Updated correctly build static/shared based on --enable-static check-in: bc1a8ee8dd user: rkeene tags: trunk
04:00
Added public symbols list check-in: 265940cce3 user: rkeene tags: trunk
Changes

Modified configure.ac from [f0cb7ec28f] to [d1da927dd5].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

16



17
18
19
20
21
22
23
dnl Define ourselves
AC_INIT(tcc4tcl, @@VERS@@)

dnl Checks for programs.
AC_PROG_CC
AC_PROG_MAKE_SET
AC_PROG_INSTALL
AC_GNU_SOURCE

dnl Determine system information
DC_CHK_OS_INFO

dnl Determine if a shared or static build is requested
target=shared
AC_ARG_ENABLE([static], AS_HELP_STRING([--enable-static], [build static library instead of shared library]), [

	target=static



], [
	target=shared
])

if test "${target}" = "shared"; then
	dnl Determine how to make shared objects
	DC_GET_SHOBJFLAGS













<

>
|
>
>
>







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
dnl Define ourselves
AC_INIT(tcc4tcl, @@VERS@@)

dnl Checks for programs.
AC_PROG_CC
AC_PROG_MAKE_SET
AC_PROG_INSTALL
AC_GNU_SOURCE

dnl Determine system information
DC_CHK_OS_INFO

dnl Determine if a shared or static build is requested

AC_ARG_ENABLE([static], AS_HELP_STRING([--enable-static], [build static library instead of shared library]), [
	if test "$enableval" = "no"; then
		target=static
	else
		target=shared
	fi
], [
	target=shared
])

if test "${target}" = "shared"; then
	dnl Determine how to make shared objects
	DC_GET_SHOBJFLAGS