[22508] | 1 | dnl $Id: aclocal.m4,v 1.19 2006-07-12 19:53:04 ghudson Exp $ |
---|
[10382] | 2 | |
---|
| 3 | dnl Copyright 1996 by the Massachusetts Institute of Technology. |
---|
| 4 | dnl |
---|
| 5 | dnl Permission to use, copy, modify, and distribute this |
---|
| 6 | dnl software and its documentation for any purpose and without |
---|
| 7 | dnl fee is hereby granted, provided that the above copyright |
---|
| 8 | dnl notice appear in all copies and that both that copyright |
---|
| 9 | dnl notice and this permission notice appear in supporting |
---|
| 10 | dnl documentation, and that the name of M.I.T. not be used in |
---|
| 11 | dnl advertising or publicity pertaining to distribution of the |
---|
| 12 | dnl software without specific, written prior permission. |
---|
| 13 | dnl M.I.T. makes no representations about the suitability of |
---|
| 14 | dnl this software for any purpose. It is provided "as is" |
---|
| 15 | dnl without express or implied warranty. |
---|
| 16 | |
---|
| 17 | dnl This file provides local macros for packages which use specific |
---|
| 18 | dnl external libraries. The public macros are: |
---|
| 19 | dnl |
---|
| 20 | dnl ATHENA_UTIL_COM_ERR |
---|
| 21 | dnl Generates error if com_err not found. |
---|
| 22 | dnl ATHENA_UTIL_SS |
---|
| 23 | dnl Generates error if ss not found. |
---|
[10465] | 24 | dnl ATHENA_REGEXP |
---|
[12068] | 25 | dnl Sets REGEX_LIBS if rx library used; ensures POSIX |
---|
| 26 | dnl regexp support. |
---|
[10382] | 27 | dnl ATHENA_MOTIF |
---|
| 28 | dnl Sets MOTIF_LIBS and defines HAVE_MOTIF if Motif used. |
---|
| 29 | dnl ATHENA_MOTIF_REQUIRED |
---|
| 30 | dnl Generates error if Motif not found. |
---|
| 31 | dnl ATHENA_AFS |
---|
| 32 | dnl Sets AFS_LIBS and defines HAVE_AFS if AFS used. Pass |
---|
| 33 | dnl in an argument giving the desired AFS libraries; |
---|
| 34 | dnl AFS_LIBS will be set to that value if AFS is found. |
---|
[10743] | 35 | dnl AFS_DIR will be set to the prefix given. |
---|
[10382] | 36 | dnl ATHENA_AFS_REQUIRED |
---|
[10743] | 37 | dnl Generates error if AFS libraries not found. AFS_DIR |
---|
| 38 | dnl will be set to the prefix given. |
---|
[10382] | 39 | dnl ATHENA_KRB4 |
---|
| 40 | dnl Sets KRB4_LIBS and defines HAVE_KRB4 if krb4 used. |
---|
| 41 | dnl ATHENA_KRB4_REQUIRED |
---|
| 42 | dnl Generates error if krb4 not found. Sets KRB4_LIBS |
---|
| 43 | dnl otherwise. (Special behavior because krb4 libraries |
---|
| 44 | dnl may be different if using krb4 compatibility libraries |
---|
| 45 | dnl from krb5.) |
---|
| 46 | dnl ATHENA_KRB5 |
---|
| 47 | dnl Sets KRB5_LIBS and defines HAVE_KRB5 if krb5 used. |
---|
| 48 | dnl ATHENA_KRB5_REQUIRED |
---|
| 49 | dnl Generates error if krb5 not found. |
---|
| 50 | dnl ATHENA_HESIOD |
---|
| 51 | dnl Sets HESIOD_LIBS and defines HAVE_HESIOD if Hesiod |
---|
| 52 | dnl used. |
---|
| 53 | dnl ATHENA_HESIOD_REQUIRED |
---|
| 54 | dnl Generates error if Hesiod not found. |
---|
[12162] | 55 | dnl ATHENA_ARES |
---|
| 56 | dnl Sets ARES_LIBS and defines HAVE_ARES if libares |
---|
| 57 | dnl used. |
---|
| 58 | dnl ATHENA_ARES_REQUIRED |
---|
| 59 | dnl Generates error if libares not found. |
---|
[13426] | 60 | dnl ATHENA_ZEPHYR |
---|
| 61 | dnl Sets ZEPHYR_LIBS and defines HAVE_ZEPHYR if zephyr |
---|
| 62 | dnl used. |
---|
| 63 | dnl ATHENA_ZEPHYR_REQUIRED |
---|
| 64 | dnl Generates error if zephyr not found. |
---|
[10382] | 65 | dnl |
---|
| 66 | dnl All of the macros may extend CPPFLAGS and LDFLAGS to let the |
---|
| 67 | dnl compiler find the requested libraries. Put ATHENA_UTIL_COM_ERR |
---|
| 68 | dnl and ATHENA_UTIL_SS before ATHENA_AFS or ATHENA_AFS_REQUIRED; there |
---|
| 69 | dnl is a com_err library in the AFS libraries which requires -lutil. |
---|
| 70 | |
---|
| 71 | dnl ----- com_err ----- |
---|
| 72 | |
---|
[22508] | 73 | AC_DEFUN([ATHENA_UTIL_COM_ERR], |
---|
[10382] | 74 | [AC_ARG_WITH(com_err, |
---|
| 75 | [ --with-com_err=PREFIX Specify location of com_err], |
---|
| 76 | [com_err="$withval"], [com_err=yes]) |
---|
| 77 | if test "$com_err" != no; then |
---|
| 78 | if test "$com_err" != yes; then |
---|
| 79 | CPPFLAGS="$CPPFLAGS -I$com_err/include" |
---|
[10743] | 80 | LDFLAGS="$LDFLAGS -L$com_err/lib" |
---|
[10382] | 81 | fi |
---|
[23979] | 82 | AC_SEARCH_LIBS(com_err, com_err, , |
---|
| 83 | [AC_MSG_ERROR(com_err library not found)]) |
---|
[10382] | 84 | else |
---|
| 85 | AC_MSG_ERROR(This package requires com_err.) |
---|
| 86 | fi]) |
---|
| 87 | |
---|
| 88 | dnl ----- ss ----- |
---|
| 89 | |
---|
[22508] | 90 | AC_DEFUN([ATHENA_UTIL_SS], |
---|
[10382] | 91 | [AC_ARG_WITH(ss, |
---|
| 92 | [ --with-ss=PREFIX Specify location of ss (requires com_err)], |
---|
| 93 | [ss="$withval"], [ss=yes]) |
---|
| 94 | if test "$ss" != no; then |
---|
| 95 | if test "$ss" != yes; then |
---|
| 96 | CPPFLAGS="$CPPFLAGS -I$ss/include" |
---|
[10743] | 97 | LDFLAGS="$LDFLAGS -L$ss/lib" |
---|
[10382] | 98 | fi |
---|
[23979] | 99 | AC_SEARCH_LIBS(initscr, curses) |
---|
| 100 | AC_SEARCH_LIBS(readline, readline) |
---|
| 101 | AC_SEARCH_LIBS(ss_perror, ss, , |
---|
| 102 | [AC_MSG_ERROR(ss library not found)], -lcom_err) |
---|
[10382] | 103 | else |
---|
| 104 | AC_MSG_ERROR(This package requires ss.) |
---|
| 105 | fi]) |
---|
| 106 | |
---|
[10465] | 107 | dnl ----- Regular expressions ----- |
---|
| 108 | |
---|
[22508] | 109 | AC_DEFUN([ATHENA_REGEXP], |
---|
[10478] | 110 | [AC_ARG_WITH(regex, |
---|
| 111 | [ --with-regex=PREFIX Use installed regex library], |
---|
| 112 | [regex="$withval"], [regex=no]) |
---|
| 113 | if test "$regex" != no; then |
---|
| 114 | if test "$regex" != yes; then |
---|
| 115 | CPPFLAGS="$CPPFLAGS -I$regex/include" |
---|
| 116 | LDFLAGS="$LDFLAGS -L$regex/lib" |
---|
[10465] | 117 | fi |
---|
[23979] | 118 | AC_SEARCH_LIBS(regcomp, regex, REGEX_LIBS=-lregex, |
---|
| 119 | [AC_MSG_ERROR(regex library not found)]) |
---|
[10465] | 120 | else |
---|
| 121 | AC_CHECK_FUNC(regcomp, :, |
---|
| 122 | [AC_MSG_ERROR(can't find POSIX regexp support)]) |
---|
| 123 | fi |
---|
[10478] | 124 | AC_SUBST(REGEX_LIBS)]) |
---|
[10465] | 125 | |
---|
[10382] | 126 | dnl ----- Motif ----- |
---|
| 127 | |
---|
[22508] | 128 | AC_DEFUN([ATHENA_MOTIF_CHECK], |
---|
[10382] | 129 | [if test "$motif" != yes; then |
---|
| 130 | CPPFLAGS="$CPPFLAGS -I$motif/include" |
---|
| 131 | LDFLAGS="$LDFLAGS -L$motif/lib" |
---|
| 132 | fi |
---|
[23979] | 133 | AC_SEARCH_LIBS(XmStringFree, Xm, :, [AC_MSG_ERROR(Motif library not found)])]) |
---|
[10382] | 134 | |
---|
[22508] | 135 | AC_DEFUN([ATHENA_MOTIF], |
---|
[10382] | 136 | [AC_ARG_WITH(motif, |
---|
| 137 | [ --with-motif=PREFIX Use Motif], |
---|
| 138 | [motif="$withval"], [motif=no]) |
---|
| 139 | if test "$motif" != no; then |
---|
| 140 | ATHENA_MOTIF_CHECK |
---|
| 141 | MOTIF_LIBS=-lXm |
---|
| 142 | AC_DEFINE(HAVE_MOTIF) |
---|
| 143 | fi |
---|
| 144 | AC_SUBST(MOTIF_LIBS)]) |
---|
| 145 | |
---|
[22508] | 146 | AC_DEFUN([ATHENA_MOTIF_REQUIRED], |
---|
[10382] | 147 | [AC_ARG_WITH(motif, |
---|
| 148 | [ --with-motif=PREFIX Specify location of Motif], |
---|
| 149 | [motif="$withval"], [motif=yes]) |
---|
| 150 | if test "$motif" != no; then |
---|
| 151 | ATHENA_MOTIF_CHECK |
---|
| 152 | else |
---|
| 153 | AC_MSG_ERROR(This package requires Motif.) |
---|
| 154 | fi]) |
---|
| 155 | |
---|
| 156 | dnl ----- AFS ----- |
---|
| 157 | |
---|
[22508] | 158 | AC_DEFUN([ATHENA_AFS_CHECK], |
---|
[23979] | 159 | [AC_SEARCH_LIBS(insque, compat) |
---|
| 160 | AC_SEARCH_LIBS(gethostbyname, nsl) |
---|
| 161 | AC_SEARCH_LIBS(socket, socket) |
---|
| 162 | AC_SEARCH_LIBS(res_send, resolv) |
---|
[10382] | 163 | if test "$afs" != yes; then |
---|
| 164 | CPPFLAGS="$CPPFLAGS -I$afs/include" |
---|
| 165 | LDFLAGS="$LDFLAGS -L$afs/lib -L$afs/lib/afs" |
---|
| 166 | fi |
---|
[23979] | 167 | AC_SEARCH_LIBS(pioctl, sys, :, [AC_MSG_ERROR(AFS libraries not found)], |
---|
| 168 | -lrx -llwp -lsys -lafsutil) |
---|
[10743] | 169 | AFS_DIR=$afs |
---|
| 170 | AC_SUBST(AFS_DIR)]) |
---|
[10382] | 171 | |
---|
| 172 | dnl Specify desired AFS libraries as a parameter. |
---|
[22508] | 173 | AC_DEFUN([ATHENA_AFS], |
---|
[10382] | 174 | [AC_ARG_WITH(afs, |
---|
| 175 | [ --with-afs=PREFIX Use AFS libraries], |
---|
| 176 | [afs="$withval"], [afs=no]) |
---|
| 177 | if test "$afs" != no; then |
---|
| 178 | ATHENA_AFS_CHECK |
---|
| 179 | AFS_LIBS=$1 |
---|
| 180 | AC_DEFINE(HAVE_AFS) |
---|
| 181 | fi |
---|
| 182 | AC_SUBST(AFS_LIBS)]) |
---|
| 183 | |
---|
[22508] | 184 | AC_DEFUN([ATHENA_AFS_REQUIRED], |
---|
[10382] | 185 | [AC_ARG_WITH(afs, |
---|
| 186 | [ --with-afs=PREFIX Specify location of AFS libraries], |
---|
| 187 | [afs="$withval"], [afs=/usr/afsws]) |
---|
| 188 | if test "$afs" != no; then |
---|
| 189 | ATHENA_AFS_CHECK |
---|
| 190 | else |
---|
| 191 | AC_MSG_ERROR(This package requires AFS libraries.) |
---|
| 192 | fi]) |
---|
| 193 | |
---|
| 194 | dnl ----- Kerberos 4 ----- |
---|
| 195 | |
---|
[22508] | 196 | AC_DEFUN([ATHENA_KRB4_CHECK], |
---|
[23279] | 197 | [AC_REQUIRE([AC_CANONICAL_TARGET]) |
---|
[23979] | 198 | AC_SEARCH_LIBS(gethostbyname, nsl) |
---|
| 199 | AC_SEARCH_LIBS(socket, socket) |
---|
| 200 | AC_SEARCH_LIBS(compile, gen) |
---|
[10825] | 201 | if test "$krb4" != yes; then |
---|
[10382] | 202 | CPPFLAGS="$CPPFLAGS -I$krb4/include" |
---|
[10711] | 203 | if test -d "$krb4/include/kerberosIV"; then |
---|
| 204 | CPPFLAGS="$CPPFLAGS -I$krb4/include/kerberosIV" |
---|
| 205 | fi |
---|
[10382] | 206 | LDFLAGS="$LDFLAGS -L$krb4/lib" |
---|
| 207 | fi |
---|
[10711] | 208 | AC_CHECK_LIB(krb4, krb_rd_req, |
---|
[13726] | 209 | [KRB4_LIBS="-lkrb4 -ldes425 -lkrb5 -lk5crypto -lcom_err"], |
---|
[10711] | 210 | [AC_CHECK_LIB(krb, krb_rd_req, |
---|
| 211 | [KRB4_LIBS="-lkrb -ldes"], |
---|
[23657] | 212 | [AC_MSG_WARN(--with-krb4 specified but Kerberos 4 libraries not found)], |
---|
[10711] | 213 | -ldes)], |
---|
[23277] | 214 | -ldes425 -lkrb5 -lk5crypto -lcom_err) |
---|
| 215 | if test "$KRB4_LIBS" != "" ; then |
---|
| 216 | case "$target_os" in |
---|
| 217 | darwin*) KRB4_LIBS="$KRB4_LIBS -framework Kerberos" |
---|
| 218 | esac |
---|
| 219 | fi]) |
---|
[10382] | 220 | |
---|
[22508] | 221 | AC_DEFUN([ATHENA_KRB4], |
---|
[10382] | 222 | [AC_ARG_WITH(krb4, |
---|
| 223 | [ --with-krb4=PREFIX Use Kerberos 4], |
---|
| 224 | [krb4="$withval"], [krb4=no]) |
---|
| 225 | if test "$krb4" != no; then |
---|
| 226 | ATHENA_KRB4_CHECK |
---|
[23657] | 227 | if test "$KRB4_LIBS" != ""; then |
---|
| 228 | AC_DEFINE(HAVE_KRB4) |
---|
| 229 | fi |
---|
[10382] | 230 | fi |
---|
| 231 | AC_SUBST(KRB4_LIBS)]) |
---|
| 232 | |
---|
[22508] | 233 | AC_DEFUN([ATHENA_KRB4_REQUIRED], |
---|
[10382] | 234 | [AC_ARG_WITH(krb4, |
---|
| 235 | [ --with-krb4=PREFIX Specify location of Kerberos 4], |
---|
| 236 | [krb4="$withval"], [krb4=yes]) |
---|
[13426] | 237 | if test "$krb4" != no; then |
---|
[10382] | 238 | ATHENA_KRB4_CHECK |
---|
[23657] | 239 | if test "$KRB4_LIBS" = ""; then |
---|
| 240 | AC_MSG_ERROR(This package requires Kerberos 4.) |
---|
| 241 | fi |
---|
[10382] | 242 | AC_SUBST(KRB4_LIBS) |
---|
| 243 | else |
---|
| 244 | AC_MSG_ERROR(This package requires Kerberos 4.) |
---|
| 245 | fi]) |
---|
| 246 | |
---|
| 247 | dnl ----- Kerberos 5 ----- |
---|
| 248 | |
---|
[22508] | 249 | AC_DEFUN([ATHENA_KRB5_CHECK], |
---|
[23279] | 250 | [AC_REQUIRE([AC_CANONICAL_TARGET]) |
---|
| 251 | AC_SEARCH_LIBS(gethostbyname, nsl) |
---|
[13823] | 252 | AC_SEARCH_LIBS(socket, socket) |
---|
[23979] | 253 | AC_SEARCH_LIBS(compile, gen) |
---|
[10825] | 254 | if test "$krb5" != yes; then |
---|
[10382] | 255 | CPPFLAGS="$CPPFLAGS -I$krb5/include" |
---|
| 256 | LDFLAGS="$LDFLAGS -L$krb5/lib" |
---|
| 257 | fi |
---|
[23979] | 258 | AC_SEARCH_LIBS(krb5_init_context, krb5, :, |
---|
| 259 | [AC_MSG_ERROR(Kerberos 5 libraries not found)], |
---|
| 260 | -lk5crypto -lcom_err)]) |
---|
[10382] | 261 | |
---|
[22508] | 262 | AC_DEFUN([ATHENA_KRB5], |
---|
[10382] | 263 | [AC_ARG_WITH(krb5, |
---|
| 264 | [ --with-krb5=PREFIX Use Kerberos 5], |
---|
[23813] | 265 | [krb5="$withval"], [krb5=no]) |
---|
[10382] | 266 | if test "$krb5" != no; then |
---|
| 267 | ATHENA_KRB5_CHECK |
---|
[13726] | 268 | KRB5_LIBS="-lkrb5 -lk5crypto -lcom_err" |
---|
[23277] | 269 | if test "$KRB5_LIBS" != "" ; then |
---|
| 270 | case "$target_os" in |
---|
| 271 | darwin*) KRB5_LIBS="$KRB5_LIBS -framework Kerberos" |
---|
| 272 | esac |
---|
| 273 | fi |
---|
[10382] | 274 | AC_DEFINE(HAVE_KRB5) |
---|
| 275 | fi |
---|
| 276 | AC_SUBST(KRB5_LIBS)]) |
---|
| 277 | |
---|
[22508] | 278 | AC_DEFUN([ATHENA_KRB5_REQUIRED], |
---|
[10382] | 279 | [AC_ARG_WITH(krb5, |
---|
| 280 | [ --with-krb5=PREFIX Specify location of Kerberos 5], |
---|
| 281 | [krb5="$withval"], [krb5=yes]) |
---|
| 282 | if test "$krb5" != no; then |
---|
| 283 | ATHENA_KRB5_CHECK |
---|
| 284 | else |
---|
| 285 | AC_MSG_ERROR(This package requires Kerberos 5.) |
---|
| 286 | fi]) |
---|
| 287 | |
---|
| 288 | dnl ----- Hesiod ----- |
---|
| 289 | |
---|
[22508] | 290 | AC_DEFUN([ATHENA_HESIOD_CHECK], |
---|
[23979] | 291 | [AC_SEARCH_LIBS(res_send, resolv) |
---|
[10382] | 292 | if test "$hesiod" != yes; then |
---|
| 293 | CPPFLAGS="$CPPFLAGS -I$hesiod/include" |
---|
| 294 | LDFLAGS="$LDFLAGS -L$hesiod/lib" |
---|
| 295 | fi |
---|
[23979] | 296 | AC_SEARCH_LIBS(hes_resolve, hesiod, :, |
---|
| 297 | [AC_MSG_ERROR(Hesiod library not found)])]) |
---|
[10382] | 298 | |
---|
[22508] | 299 | AC_DEFUN([ATHENA_HESIOD], |
---|
[10382] | 300 | [AC_ARG_WITH(hesiod, |
---|
| 301 | [ --with-hesiod=PREFIX Use Hesiod], |
---|
| 302 | [hesiod="$withval"], [hesiod=no]) |
---|
| 303 | if test "$hesiod" != no; then |
---|
| 304 | ATHENA_HESIOD_CHECK |
---|
| 305 | HESIOD_LIBS="-lhesiod" |
---|
| 306 | AC_DEFINE(HAVE_HESIOD) |
---|
| 307 | fi |
---|
| 308 | AC_SUBST(HESIOD_LIBS)]) |
---|
| 309 | |
---|
[22508] | 310 | AC_DEFUN([ATHENA_HESIOD_REQUIRED], |
---|
[10382] | 311 | [AC_ARG_WITH(hesiod, |
---|
| 312 | [ --with-hesiod=PREFIX Specify location of Hesiod], |
---|
| 313 | [hesiod="$withval"], [hesiod=yes]) |
---|
| 314 | if test "$hesiod" != no; then |
---|
| 315 | ATHENA_HESIOD_CHECK |
---|
| 316 | else |
---|
| 317 | AC_MSG_ERROR(This package requires Hesiod.) |
---|
| 318 | fi]) |
---|
[12162] | 319 | |
---|
| 320 | dnl ----- libares ----- |
---|
| 321 | |
---|
[22508] | 322 | AC_DEFUN([ATHENA_ARES_CHECK], |
---|
[23979] | 323 | [AC_SEARCH_LIBS(res_send, resolv) |
---|
[12162] | 324 | if test "$ares" != yes; then |
---|
| 325 | CPPFLAGS="$CPPFLAGS -I$ares/include" |
---|
| 326 | LDFLAGS="$LDFLAGS -L$ares/lib" |
---|
| 327 | fi |
---|
[23979] | 328 | AC_SEARCH_LIBS(ares_init, ares, :, [AC_MSG_ERROR(libares not found)])]) |
---|
[12162] | 329 | |
---|
[22508] | 330 | AC_DEFUN([ATHENA_ARES], |
---|
[12162] | 331 | [AC_ARG_WITH(ares, |
---|
| 332 | [ --with-ares=PREFIX Use libares], |
---|
| 333 | [ares="$withval"], [ares=no]) |
---|
| 334 | if test "$ares" != no; then |
---|
| 335 | ATHENA_ARES_CHECK |
---|
| 336 | ARES_LIBS="-lares" |
---|
| 337 | AC_DEFINE(HAVE_ARES) |
---|
| 338 | fi |
---|
| 339 | AC_SUBST(ARES_LIBS)]) |
---|
| 340 | |
---|
[22508] | 341 | AC_DEFUN([ATHENA_ARES_REQUIRED], |
---|
[12162] | 342 | [AC_ARG_WITH(ares, |
---|
| 343 | [ --with-ares=PREFIX Specify location of libares], |
---|
| 344 | [ares="$withval"], [ares=yes]) |
---|
| 345 | if test "$ares" != no; then |
---|
| 346 | ATHENA_ARES_CHECK |
---|
| 347 | else |
---|
| 348 | AC_MSG_ERROR(This package requires libares.) |
---|
| 349 | fi]) |
---|
[13426] | 350 | dnl ----- zephyr ----- |
---|
| 351 | |
---|
[22508] | 352 | AC_DEFUN([ATHENA_ZEPHYR_CHECK], |
---|
[13426] | 353 | [if test "$zephyr" != yes; then |
---|
| 354 | CPPFLAGS="$CPPFLAGS -I$zephyr/include" |
---|
| 355 | LDFLAGS="$LDFLAGS -L$zephyr/lib" |
---|
| 356 | fi |
---|
[23979] | 357 | AC_SEARCH_LIBS(ZFreeNotice, zephyr, :, [AC_MSG_ERROR(zephyr not found)])]) |
---|
[13426] | 358 | |
---|
[22508] | 359 | AC_DEFUN([ATHENA_ZEPHYR], |
---|
[13426] | 360 | [AC_ARG_WITH(zephyr, |
---|
| 361 | [ --with-zephyr=PREFIX Use zephyr], |
---|
| 362 | [zephyr="$withval"], [zephyr=no]) |
---|
| 363 | if test "$zephyr" != no; then |
---|
| 364 | ATHENA_ZEPHYR_CHECK |
---|
| 365 | ZEPHYR_LIBS="-lzephyr" |
---|
| 366 | AC_DEFINE(HAVE_ZEPHYR) |
---|
| 367 | fi |
---|
| 368 | AC_SUBST(ZEPHYR_LIBS)]) |
---|
| 369 | |
---|
[22508] | 370 | AC_DEFUN([ATHENA_ZEPHYR_REQUIRED], |
---|
[13426] | 371 | [AC_ARG_WITH(zephyr, |
---|
| 372 | [ --with-zephyr=PREFIX Specify location of zephyr], |
---|
| 373 | [zephyr="$withval"], [zephyr=yes]) |
---|
| 374 | if test "$zephyr" != no; then |
---|
| 375 | ATHENA_ZEPHYR_CHECK |
---|
| 376 | else |
---|
| 377 | AC_MSG_ERROR(This package requires zephyr.) |
---|
| 378 | fi]) |
---|