Mercurial > dwindows
comparison configure.in @ 1594:6baf177f335c
Rename compat.c/h dwcompat.c/h and configure option to --with-dwcompat.
There are several other projects that include compat.c and compat.h...
To avoid conflicts make sure the header and source files match the library.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 23 Feb 2012 12:44:15 +0000 |
parents | 751f127439f7 |
children | 080b764e8982 |
comparison
equal
deleted
inserted
replaced
1593:19af25f71e1f | 1594:6baf177f335c |
---|---|
39 AC_SUBST(MAKE) | 39 AC_SUBST(MAKE) |
40 | 40 |
41 dnl Checks for system | 41 dnl Checks for system |
42 AC_CANONICAL_SYSTEM | 42 AC_CANONICAL_SYSTEM |
43 | 43 |
44 dnl ---------------------- check for '--with-compat' switch ----------------- | 44 dnl ---------------------- check for '--with-dwcompat' switch ----------------- |
45 AC_ARG_WITH(compat, | 45 AC_ARG_WITH(dwcompat, |
46 [ --with-compat specify this to build the optional dwcompat library], | 46 [ --with-dwcompat specify this to build the optional dwcompat library], |
47 [with_compat=$withval], | 47 [with_dwcompat=$withval], |
48 [with_compat=no], | 48 [with_dwcompat=no], |
49 ) | 49 ) |
50 | 50 |
51 dnl ---------------------- check for '--with-gtk3' switch ----------------- | 51 dnl ---------------------- check for '--with-gtk3' switch ----------------- |
52 AC_ARG_WITH(gtk3, | 52 AC_ARG_WITH(gtk3, |
53 [ --with-gtk3 specify this to build with GTK+ 3.x if available], | 53 [ --with-gtk3 specify this to build with GTK+ 3.x if available], |
54 [with_gtk3=$withval], | 54 [with_gtk3=$withval], |
55 [with_gtk3=no], | 55 [with_gtk3=no], |
56 ) | 56 ) |
57 | 57 |
58 dnl ---------------------- default targets to build ----------------- | 58 dnl ---------------------- default targets to build ----------------- |
59 if test $with_compat = yes; then | 59 if test $with_dwcompat = yes; then |
60 COMPAT_OBJECT="compat.o" | 60 COMPAT_OBJECT="dwcompat.o" |
61 INSTALL_COMPAT="installcompat" | 61 INSTALL_COMPAT="installdwcompat" |
62 SYSCONF_LINK_TARGET_SHARED2="lib$TARGET2.$SOSUFFIX.\$(DW_MAJOR_VERSION).\$(DW_MINOR_VERSION)" | 62 SYSCONF_LINK_TARGET_SHARED2="lib$TARGET2.$SOSUFFIX.\$(DW_MAJOR_VERSION).\$(DW_MINOR_VERSION)" |
63 else | 63 else |
64 COMPAT_OBJECT="" | 64 COMPAT_OBJECT="" |
65 INSTALL_COMPAT="" | 65 INSTALL_COMPAT="" |
66 SYSCONF_LINK_TARGET_SHARED2="" | 66 SYSCONF_LINK_TARGET_SHARED2="" |