~ubuntu-branches/ubuntu/gutsy/amsn/gutsy

« back to all changes in this revision

Viewing changes to plugins/BWidget-1.7.0/configure.in

  • Committer: Bazaar Package Importer
  • Author(s): Theodore Karkoulis
  • Date: 2006-01-04 15:26:02 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060104152602-ipe1yg00rl3nlklv
Tags: 0.95-1
New Upstream Release (closes: #345052, #278575).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
AC_INIT(init.tcl)
2
 
 
3
 
AC_CONFIG_AUX_DIR(config)
4
 
CONFIGDIR=${srcdir}/config
5
 
AC_SUBST(CONFIGDIR)
6
 
 
7
 
PACKAGE=bwidget
8
 
 
9
 
MAJOR_VERSION=1
10
 
MINOR_VERSION=6
11
 
PATCHLEVEL=
12
 
 
13
 
VERSION=${MAJOR_VERSION}.${MINOR_VERSION}${PATCHLEVEL}
14
 
NODOT_VERSION=${MAJOR_VERSION}${MINOR_VERSION}
15
 
 
16
 
AC_SUBST(PACKAGE)
17
 
AC_SUBST(VERSION)
18
 
eval AC_DEFINE_UNQUOTED(VERSION, "${VERSION}")
19
 
 
20
 
AC_PROG_INSTALL
21
 
 
22
 
#--------------------------------------------------------------------
23
 
# "cygpath" is used on windows to generate native path names for include
24
 
# files.
25
 
# These variables should only be used with the compiler and linker since
26
 
# they generate native path names.
27
 
#
28
 
# Unix tclConfig.sh points SRC_DIR at the top-level directory of
29
 
# the Tcl sources, while the Windows tclConfig.sh points SRC_DIR at
30
 
# the win subdirectory.  Hence the different usages of SRC_DIR below.
31
 
#
32
 
# This must be done before calling SC_PUBLIC_TCL_HEADERS
33
 
#--------------------------------------------------------------------
34
 
 
35
 
case "`uname -s`" in
36
 
    *win32* | *WIN32* | *CYGWIN_NT*|*CYGWIN_98*|*CYGWIN_95*)
37
 
        CYGPATH="cygpath -w"
38
 
    ;;
39
 
    *)
40
 
        CYGPATH=echo
41
 
    ;;
42
 
esac
43
 
 
44
 
AC_SUBST(CYGPATH)
45
 
 
46
 
AC_OUTPUT([Makefile])