50 |
|
|
51 |
dnl Check if we want to link the Hamradio control libraries (hamlib) |
dnl Check if we want to link the Hamradio control libraries (hamlib) |
52 |
AC_ARG_ENABLE([hamlib], |
AC_ARG_ENABLE([hamlib], |
53 |
[ --enable-hamlib Add support for hamradio control libraries], |
[ --enable-hamlib add support for the hamradio control libraries], |
54 |
[case "${enableval}" in |
[case "${enableval}" in |
55 |
yes) wanthamlib=true ;; |
yes) wanthamlib=true ;; |
56 |
no) wanthamlib=false ;; |
no) wanthamlib=false ;; |
75 |
echo "disabling hamlib support" |
echo "disabling hamlib support" |
76 |
fi |
fi |
77 |
|
|
78 |
|
AC_ARG_ENABLE(desktop-update, |
79 |
|
[ --enable-desktop-update install desktop files], |
80 |
|
[case "${enableval}" in |
81 |
|
yes) desktop_update=true ;; |
82 |
|
no) desktop_update=false ;; |
83 |
|
*) AC_MSG_ERROR(bad value ${enableval} for --enable-desktop-update) ;; |
84 |
|
esac],[desktop_update=false]) |
85 |
|
AM_CONDITIONAL(DESKTOPUPDATE, test x$desktop_update = xtrue) |
86 |
|
|
87 |
|
if test "x${desktop_update}" != "xfalse"; then |
88 |
|
echo "enabling installation of desktop files" |
89 |
|
else |
90 |
|
echo "disabling installation of desktop files" |
91 |
|
fi |
92 |
|
|
93 |
|
AC_ARG_ENABLE(mime-update, |
94 |
|
[ --enable-mime-update update the mime database], |
95 |
|
[case "${enableval}" in |
96 |
|
yes) mime_update=true ;; |
97 |
|
no) mime_update=false ;; |
98 |
|
*) AC_MSG_ERROR(bad value ${enableval} for --enable-mime-update) ;; |
99 |
|
esac],[mime_update=false]) |
100 |
|
AM_CONDITIONAL(MIMEUPDATE, test x$mime_update = xtrue) |
101 |
|
|
102 |
|
if test "x${mime_update}" != "xfalse"; then |
103 |
|
echo "enabled updating of the mime database" |
104 |
|
else |
105 |
|
echo "disabled updating of the mime database" |
106 |
|
fi |
107 |
|
|
108 |
AC_OUTPUT([ |
AC_OUTPUT([ |
109 |
Makefile |
Makefile |
118 |
data/man/Makefile |
data/man/Makefile |
119 |
data/doc/Makefile |
data/doc/Makefile |
120 |
data/dxcc/Makefile |
data/dxcc/Makefile |
121 |
|
data/tables/Makefile |
122 |
data/remote/Makefile |
data/remote/Makefile |
123 |
data/glabels/Makefile |
data/glabels/Makefile |
124 |
data/utils/Makefile |
data/utils/Makefile |
125 |
data/images/Makefile |
data/images/Makefile |
|
data/tables/Makefile |
|
126 |
]) |
]) |