# HG changeset patch # User Jonathan Schleifer # Date 1202675429 -3600 # Node ID 3e0a2cce15f682c56e01932291ac01744fd1101e # Parent 90282d9e4bec204d9ca07a6d20390b766ab4357b Added HG repo URL to buildsys as a comment. diff -r 90282d9e4bec -r 3e0a2cce15f6 buildsys.mk.in --- a/buildsys.mk.in Sun Feb 10 16:13:30 2008 +0300 +++ b/buildsys.mk.in Sun Feb 10 21:30:29 2008 +0100 @@ -1,6 +1,8 @@ # # Copyright (c) 2007, Jonathan Schleifer # +# https://webkeks.org/hg/buildsys/ +# # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice is present in all copies. diff -r 90282d9e4bec -r 3e0a2cce15f6 m4/buildsys.m4 --- a/m4/buildsys.m4 Sun Feb 10 16:13:30 2008 +0300 +++ b/m4/buildsys.m4 Sun Feb 10 21:30:29 2008 +0100 @@ -1,6 +1,8 @@ dnl dnl Copyright (c) 2007, Jonathan Schleifer dnl +dnl https://webkeks.org/hg/buildsys/ +dnl dnl Permission to use, copy, modify, and/or distribute this software for any dnl purpose with or without fee is hereby granted, provided that the above dnl copyright notice and this permission notice is present in all copies. @@ -21,6 +23,11 @@ AC_DEFUN([BUILDSYS_PROG_IMPLIB], [ AC_MSG_CHECKING(whether 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' @@ -106,8 +113,8 @@ PLUGIN_CFLAGS='-fPIC' PLUGIN_LDFLAGS='-shared -fPIC' PLUGIN_SUFFIX='.so' - INSTALL_LIB='${INSTALL} -m 755 $$i ${DESTDIR}${LIBDIR}/$$i.${LIB_MAJOR}.${LIB_MINOR}.0 && ${LN_S} -f $$i.${LIB_MAJOR}.${LIB_MINOR}.0 ${DESTDIR}${LIBDIR}/$$i.${LIB_MAJOR} && ${LN_S} -f $$i.${LIB_MAJOR}.${LIB_MINOR}.0 ${DESTDIR}${LIBDIR}/$$i' - UNINSTALL_LIB='rm -f ${DESTDIR}${LIBDIR}/$$i ${DESTDIR}${LIBDIR}/$$i.${LIB_MAJOR} ${DESTDIR}${LIBDIR}/$$i.${LIB_MAJOR}.${LIB_MINOR}.0' + INSTALL_LIB='${INSTALL} -m 755 $$i ${DESTDIR}${libdir}/$$i.${LIB_MAJOR}.${LIB_MINOR}.0 && ${LN_S} -f $$i.${LIB_MAJOR}.${LIB_MINOR}.0 ${DESTDIR}${libdir}/$$i.${LIB_MAJOR} && ${LN_S} -f $$i.${LIB_MAJOR}.${LIB_MINOR}.0 ${DESTDIR}${libdir}/$$i' + UNINSTALL_LIB='rm -f ${DESTDIR}${libdir}/$$i ${DESTDIR}${libdir}/$$i.${LIB_MAJOR} ${DESTDIR}${libdir}/$$i.${LIB_MAJOR}.${LIB_MINOR}.0' CLEAN_LIB='' ;; esac