19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
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
|
+
-
+
+
+
|
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$${i%.exe}.a'
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)
])
AC_DEFUN([BUILDSYS_SHARED_LIB], [
AC_MSG_CHECKING(for shared library system)
case "$target" in
intel-apple-*)
|