blob: 88bc81ae5525aa26a16a284490c53ce02cc9622e [file] [log] [blame]
Igor Sysoevdc867cd2003-12-14 20:10:27 +00001
Igor Sysoevff8da912004-09-29 16:00:49 +00002# Copyright (C) Igor Sysoev
Maxim Konovalovf8d59e32012-01-18 15:07:43 +00003# Copyright (C) Nginx, Inc.
Igor Sysoevff8da912004-09-29 16:00:49 +00004
5
Igor Sysoev3259e852005-01-19 13:10:56 +00006if [ $USE_PCRE = YES -o $PCRE != NONE ]; then
Piotr Sikora7d3be9a2015-12-01 00:00:10 -08007 . $NGX_AUTO/lib/pcre/conf
Igor Sysoevda85fe62009-05-26 14:28:49 +00008
9else
Samuel Martin328fdab2017-07-19 12:05:50 +030010 if [ $USE_PCRE = DISABLED -a $HTTP = YES -a $HTTP_REWRITE = YES ]; then
Igor Sysoevda85fe62009-05-26 14:28:49 +000011
12cat << END
13
14$0: error: the HTTP rewrite module requires the PCRE library.
15You can either disable the module by using --without-http_rewrite_module
16option or you have to enable the PCRE support.
17
18END
19 exit 1
20 fi
Igor Sysoevdc867cd2003-12-14 20:10:27 +000021fi
22
Igor Sysoevda85fe62009-05-26 14:28:49 +000023
Igor Sysoev0599b112004-07-25 18:34:14 +000024if [ $USE_OPENSSL = YES ]; then
Piotr Sikora7d3be9a2015-12-01 00:00:10 -080025 . $NGX_AUTO/lib/openssl/conf
Igor Sysoev0599b112004-07-25 18:34:14 +000026fi
27
Igor Sysoevdc867cd2003-12-14 20:10:27 +000028if [ $USE_ZLIB = YES ]; then
Piotr Sikora7d3be9a2015-12-01 00:00:10 -080029 . $NGX_AUTO/lib/zlib/conf
Igor Sysoevdc867cd2003-12-14 20:10:27 +000030fi
Igor Sysoev9bf11aa2006-01-16 14:56:53 +000031
Maxim Dounince1c3bd2016-02-04 20:25:29 +030032if [ $USE_LIBXSLT != NO ]; then
Piotr Sikora7d3be9a2015-12-01 00:00:10 -080033 . $NGX_AUTO/lib/libxslt/conf
Igor Sysoev1ae389d2008-08-04 14:48:15 +000034fi
35
Maxim Dounince1c3bd2016-02-04 20:25:29 +030036if [ $USE_LIBGD != NO ]; then
Piotr Sikora7d3be9a2015-12-01 00:00:10 -080037 . $NGX_AUTO/lib/libgd/conf
Igor Sysoeve2ada612009-05-01 18:42:09 +000038fi
39
Ruslan Ermilov890fade2016-02-26 14:27:04 +030040if [ $USE_PERL != NO ]; then
Piotr Sikora7d3be9a2015-12-01 00:00:10 -080041 . $NGX_AUTO/lib/perl/conf
Igor Sysoev9bf11aa2006-01-16 14:56:53 +000042fi
Igor Sysoev85dd8fc2008-03-18 10:36:27 +000043
Maxim Dounince1c3bd2016-02-04 20:25:29 +030044if [ $USE_GEOIP != NO ]; then
Piotr Sikora7d3be9a2015-12-01 00:00:10 -080045 . $NGX_AUTO/lib/geoip/conf
Igor Sysoevbc101472009-07-20 07:10:43 +000046fi
Igor Sysoev213cad82009-11-25 17:55:25 +000047
Igor Sysoev85dd8fc2008-03-18 10:36:27 +000048if [ $NGX_GOOGLE_PERFTOOLS = YES ]; then
Piotr Sikora7d3be9a2015-12-01 00:00:10 -080049 . $NGX_AUTO/lib/google-perftools/conf
Igor Sysoev85dd8fc2008-03-18 10:36:27 +000050fi
Igor Sysoev213cad82009-11-25 17:55:25 +000051
52if [ $NGX_LIBATOMIC != NO ]; then
Piotr Sikora7d3be9a2015-12-01 00:00:10 -080053 . $NGX_AUTO/lib/libatomic/conf
Igor Sysoev213cad82009-11-25 17:55:25 +000054fi