buildsys  Check-in [237ce83b90]

Overview
Comment:Keep it to the autoconf standard.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 237ce83b90caf103b385b30fd5932c2ba8b75cefd5be80b225e66a7bb6939f7e
User & Date: js on 2007-09-27 19:28:42
Other Links: manifest | tags
Context
2007-09-27
19:58
Add missing targets to .PHONY. check-in: 2716510444 user: js tags: trunk
19:28
Keep it to the autoconf standard. check-in: 237ce83b90 user: js tags: trunk
19:12
${STATIC_LIB} is mode 644, not 755! check-in: 2ce3794e0b user: js tags: trunk
Changes

Modified m4/buildsys.m4 from [b3b431b7c9] to [94853dfa8d].

19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
dnl

AC_DEFUN([BUILDSYS_PROG_IMPLIB], [
	AC_MSG_CHECKING(wether we need an implib)
	case "$target" in
		*-*-cygwin | *-*-mingw32)
			AC_MSG_RESULT(yes)
			PROG_IMPLIB_NEEDED=1
			PROG_IMPLIB_LDFLAGS='-Wl,-export-all-symbols,--out-implib,lib${PROG}.a'
			;;
		*)
			AC_MSG_RESULT(no)
			PROG_IMPLIB_NEEDED=0
			PROG_IMPLIB_LDFLAGS=''
			;;
	esac
	
	AC_SUBST(PROG_IMPLIB_NEEDED)
	AC_SUBST(PROG_IMPLIB_LDFLAGS)
])







|




|







19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
dnl

AC_DEFUN([BUILDSYS_PROG_IMPLIB], [
	AC_MSG_CHECKING(wether we need an implib)
	case "$target" in
		*-*-cygwin | *-*-mingw32)
			AC_MSG_RESULT(yes)
			PROG_IMPLIB_NEEDED='yes'
			PROG_IMPLIB_LDFLAGS='-Wl,-export-all-symbols,--out-implib,lib${PROG}.a'
			;;
		*)
			AC_MSG_RESULT(no)
			PROG_IMPLIB_NEEDED='no'
			PROG_IMPLIB_LDFLAGS=''
			;;
	esac
	
	AC_SUBST(PROG_IMPLIB_NEEDED)
	AC_SUBST(PROG_IMPLIB_LDFLAGS)
])