buildsys  Check-in [bf23a0ce77]

Overview
Comment:Actually, these names are better.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: bf23a0ce772cd4a60d66f3c3267ccffcfd527ff0769dd03777c4eb52a2171eda
User & Date: js on 2007-09-26 00:45:06
Other Links: manifest | tags
Context
2007-09-26
00:55
Don't check for ${PROG_SUFFIX}, set it to @EXEEXT@. check-in: 0d0d4f6a56 user: js tags: trunk
00:45
Actually, these names are better. check-in: bf23a0ce77 user: js tags: trunk
00:42
Oops. check-in: 0908041299 user: js tags: trunk
Changes

Modified m4/buildsys.m4 from [b189689e24] to [8fca5e548b].

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
dnl SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
dnl INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
dnl CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
dnl ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
dnl POSSIBILITY OF SUCH DAMAGE.
dnl

AC_DEFUN([AM_PROG_SUFFIX], [
	AC_MSG_CHECKING(for program suffix)
	case "$target" in
		*-*-cygwin | *-*-mingw32)
			PROG_SUFFIX='.exe'
			;;
		*)
			PROG_SUFFIX=''
			;;
	esac

	AC_SUBST(PROG_SUFFIX)
])

AC_DEFUN([AM_SHARED_LIB], [
	AC_MSG_CHECKING(for shared library system)
	case "$target" in
		intel-apple-*)
			AC_MSG_RESULT([Mac OS X (Intel)])
			LIB_CPPFLAGS='-DPIC'
			LIB_CFLAGS='-fPIC'
			LIB_LDFLAGS='-dynamiclib -fPIC -install_name ${libdir}/${LIB}'







|













|







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
dnl SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
dnl INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
dnl CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
dnl ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
dnl POSSIBILITY OF SUCH DAMAGE.
dnl

AC_DEFUN([BUILDSYS_PROG_SUFFIX], [
	AC_MSG_CHECKING(for program suffix)
	case "$target" in
		*-*-cygwin | *-*-mingw32)
			PROG_SUFFIX='.exe'
			;;
		*)
			PROG_SUFFIX=''
			;;
	esac

	AC_SUBST(PROG_SUFFIX)
])

AC_DEFUN([BUILDSYS_SHARED_LIB], [
	AC_MSG_CHECKING(for shared library system)
	case "$target" in
		intel-apple-*)
			AC_MSG_RESULT([Mac OS X (Intel)])
			LIB_CPPFLAGS='-DPIC'
			LIB_CFLAGS='-fPIC'
			LIB_LDFLAGS='-dynamiclib -fPIC -install_name ${libdir}/${LIB}'