# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, you can obtain one at https://mozilla.org/MPL/2.0/.
# See the COPYRIGHT file distributed with this work for additional
# information regarding copyright ownership.
includedir=/usr/include/bind9
x86_64 | amd64 | sparc64 | s390x | ppc64)
libdir=/usr/lib64${libdir_suffix}
sec_libdir=/usr/lib${libdir_suffix}
libdir=/usr/lib${libdir_suffix}
sec_libdir=/usr/lib64${libdir_suffix}
Usage: isc-config [OPTIONS] [LIBRARIES]
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
if test "x$exec_prefix_set" = x ; then
echo VERSION=9.11.36-RedHat-9.11.36-16.el8_10.2
if test x"$echo_prefix" = x"true" ; then
if test x"$echo_exec_prefix" = x"true" ; then
if test x"$echo_cflags" = x"true"; then
if test x"${exec_prefix_set}" = x"true"; then
includes="-I${exec_prefix}/include"
includes="-I${includedir}"
if test x"$libisc" = x"true"; then
includes="$includes -D_REENTRANT -DDIG_SIGCHASE -D_GNU_SOURCE "
if test x"$echo_libs" = x"true"; then
if test x"${exec_prefix_set}" = x"true"; then
libs="-L${exec_prefix}/lib"
if [ ! -x $libdir/libisc.so ] ; then
if [ ! -x $sec_libdir/libisc.so ] ; then
echo "Error: ISC libs not found in $libdir"
if [ -d $sec_libdir ] ; then
echo "Error: ISC libs not found in $sec_libdir"
if test x"$libirs" = x"true" ; then
if test x"$liblwres" = x"true" ; then
if test x"$libbind9" = x"true" ; then
if test x"$libdns" = x"true" ; then
libs="$libs -ldns -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcrypto"
if test x"$libisccfg" = x"true" ; then
if test x"$libisccc" = x"true" ; then
if test x"$libisc" = x"true" ; then
libs="$libs -lisc -lcrypto"
if test x"$needothers" = x"true" ; then
libs="$libs -ldl -lprotobuf-c -lfstrm -lcap -lz -ljson-c -lpthread -lxml2 "