~ubuntu-branches/debian/squeeze/erlang/squeeze

« back to all changes in this revision

Viewing changes to lib/erl_interface/configure.in

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-05-07 15:07:37 UTC
  • mfrom: (1.2.1 upstream) (5.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090507150737-i4yb5elwinm7r0hc
Tags: 1:13.b-dfsg1-1
* Removed another bunch of non-free RFCs from original tarball
  (closes: #527053).
* Fixed build-dependencies list by adding missing comma. This requires
  libsctp-dev again. Also, added libsctp1 dependency to erlang-base and
  erlang-base-hipe packages because the shared library is loaded via
  dlopen now and cannot be added using dh_slibdeps (closes: #526682).
* Weakened dependency of erlang-webtool on erlang-observer to recommends
  to avoid circular dependencies (closes: #526627).
* Added solaris-i386 to HiPE enabled architectures.
* Made script sources in /usr/lib/erlang/erts-*/bin directory executable,
  which is more convenient if a user wants to create a target Erlang system.
* Shortened extended description line for erlang-dev package to make it
  fit 80x25 terminals.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#                                               -*- Autoconf -*-
 
2
# %CopyrightBegin%
 
3
 
4
# Copyright Ericsson AB 2000-2009. All Rights Reserved.
 
5
 
6
# The contents of this file are subject to the Erlang Public License,
 
7
# Version 1.1, (the "License"); you may not use this file except in
 
8
# compliance with the License. You should have received a copy of the
 
9
# Erlang Public License along with this software. If not, it can be
 
10
# retrieved online at http://www.erlang.org/.
 
11
 
12
# Software distributed under the License is distributed on an "AS IS"
 
13
# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
 
14
# the License for the specific language governing rights and limitations
 
15
# under the License.
 
16
 
17
# %CopyrightEnd%
 
18
#
2
19
# Process this file with autoconf to produce a configure script.
3
20
# The starting point for this file was the output from 'autoscan'.
4
21
 
54
71
dnl Optional features
55
72
dnl ----------------------------------------------------------------------
56
73
 
 
74
AC_ARG_WITH(xcomp-conf,
 
75
[  --with-xcompconf=PATH     path to cross compilation configuration])
 
76
if test "x$with_xcompconf" != "xno" -a "x$with_xcompconf" != "x" ; then
 
77
    . $with_xcompconf
 
78
fi
 
79
 
57
80
# Use --disable-threads to force building single threaded libs even 
58
81
# if pthreads exists (for test purposes).
59
82
AC_ARG_ENABLE(threads,
72
95
AC_PROG_CPP
73
96
dnl AC_PROG_LIBTOOL
74
97
AC_PROG_RANLIB
 
98
if test "x$LD" = "x"; then
 
99
   AC_CHECK_TOOL([LD],[ld],[ld])
 
100
fi
 
101
AC_SUBST(LD)
75
102
 
76
 
AC_CHECK_SIZEOF(short, 2)dnl Assumes all cross compiling is to 32bit uP
77
 
AC_CHECK_SIZEOF(int, 4)dnl Assumes all cross compiling is to 32bit uP
78
 
AC_CHECK_SIZEOF(long, 4)dnl Assumes all cross compiling is to 32bit uP
79
 
AC_CHECK_SIZEOF(void *, 4)dnl Assumes all cross compiling is to 32bit uP
80
 
AC_CHECK_SIZEOF(long long, 0)
 
103
AC_CHECK_SIZEOF(short, $erl_xcomp_short)
 
104
AC_CHECK_SIZEOF(int, $erl_xcomp_int)
 
105
AC_CHECK_SIZEOF(long, $erl_xcomp_long)
 
106
AC_CHECK_SIZEOF(void *, $erl_xcomp_void_p)
 
107
AC_CHECK_SIZEOF(long long, $erl_xcomp_long_long)
81
108
 
82
109
if test $ac_cv_sizeof_void_p = 8; then
83
110
  CFLAGS="$CFLAGS -DEI_64BIT"