Igor Sysoev | dc867cd | 2003-12-14 20:10:27 +0000 | [diff] [blame] | 1 | |
Igor Sysoev | ff8da91 | 2004-09-29 16:00:49 +0000 | [diff] [blame] | 2 | # Copyright (C) Igor Sysoev |
Maxim Konovalov | f8d59e3 | 2012-01-18 15:07:43 +0000 | [diff] [blame] | 3 | # Copyright (C) Nginx, Inc. |
Igor Sysoev | ff8da91 | 2004-09-29 16:00:49 +0000 | [diff] [blame] | 4 | |
| 5 | |
Igor Sysoev | 3259e85 | 2005-01-19 13:10:56 +0000 | [diff] [blame] | 6 | if [ $USE_PCRE = YES -o $PCRE != NONE ]; then |
Piotr Sikora | 7d3be9a | 2015-12-01 00:00:10 -0800 | [diff] [blame] | 7 | . $NGX_AUTO/lib/pcre/conf |
Igor Sysoev | da85fe6 | 2009-05-26 14:28:49 +0000 | [diff] [blame] | 8 | |
| 9 | else |
Samuel Martin | 328fdab | 2017-07-19 12:05:50 +0300 | [diff] [blame] | 10 | if [ $USE_PCRE = DISABLED -a $HTTP = YES -a $HTTP_REWRITE = YES ]; then |
Igor Sysoev | da85fe6 | 2009-05-26 14:28:49 +0000 | [diff] [blame] | 11 | |
| 12 | cat << END |
| 13 | |
| 14 | $0: error: the HTTP rewrite module requires the PCRE library. |
| 15 | You can either disable the module by using --without-http_rewrite_module |
| 16 | option or you have to enable the PCRE support. |
| 17 | |
| 18 | END |
| 19 | exit 1 |
| 20 | fi |
Igor Sysoev | dc867cd | 2003-12-14 20:10:27 +0000 | [diff] [blame] | 21 | fi |
| 22 | |
Igor Sysoev | da85fe6 | 2009-05-26 14:28:49 +0000 | [diff] [blame] | 23 | |
Igor Sysoev | 0599b11 | 2004-07-25 18:34:14 +0000 | [diff] [blame] | 24 | if [ $USE_OPENSSL = YES ]; then |
Piotr Sikora | 7d3be9a | 2015-12-01 00:00:10 -0800 | [diff] [blame] | 25 | . $NGX_AUTO/lib/openssl/conf |
Igor Sysoev | 0599b11 | 2004-07-25 18:34:14 +0000 | [diff] [blame] | 26 | fi |
| 27 | |
Igor Sysoev | dc867cd | 2003-12-14 20:10:27 +0000 | [diff] [blame] | 28 | if [ $USE_ZLIB = YES ]; then |
Piotr Sikora | 7d3be9a | 2015-12-01 00:00:10 -0800 | [diff] [blame] | 29 | . $NGX_AUTO/lib/zlib/conf |
Igor Sysoev | dc867cd | 2003-12-14 20:10:27 +0000 | [diff] [blame] | 30 | fi |
Igor Sysoev | 9bf11aa | 2006-01-16 14:56:53 +0000 | [diff] [blame] | 31 | |
Maxim Dounin | ce1c3bd | 2016-02-04 20:25:29 +0300 | [diff] [blame] | 32 | if [ $USE_LIBXSLT != NO ]; then |
Piotr Sikora | 7d3be9a | 2015-12-01 00:00:10 -0800 | [diff] [blame] | 33 | . $NGX_AUTO/lib/libxslt/conf |
Igor Sysoev | 1ae389d | 2008-08-04 14:48:15 +0000 | [diff] [blame] | 34 | fi |
| 35 | |
Maxim Dounin | ce1c3bd | 2016-02-04 20:25:29 +0300 | [diff] [blame] | 36 | if [ $USE_LIBGD != NO ]; then |
Piotr Sikora | 7d3be9a | 2015-12-01 00:00:10 -0800 | [diff] [blame] | 37 | . $NGX_AUTO/lib/libgd/conf |
Igor Sysoev | e2ada61 | 2009-05-01 18:42:09 +0000 | [diff] [blame] | 38 | fi |
| 39 | |
Ruslan Ermilov | 890fade | 2016-02-26 14:27:04 +0300 | [diff] [blame] | 40 | if [ $USE_PERL != NO ]; then |
Piotr Sikora | 7d3be9a | 2015-12-01 00:00:10 -0800 | [diff] [blame] | 41 | . $NGX_AUTO/lib/perl/conf |
Igor Sysoev | 9bf11aa | 2006-01-16 14:56:53 +0000 | [diff] [blame] | 42 | fi |
Igor Sysoev | 85dd8fc | 2008-03-18 10:36:27 +0000 | [diff] [blame] | 43 | |
Maxim Dounin | ce1c3bd | 2016-02-04 20:25:29 +0300 | [diff] [blame] | 44 | if [ $USE_GEOIP != NO ]; then |
Piotr Sikora | 7d3be9a | 2015-12-01 00:00:10 -0800 | [diff] [blame] | 45 | . $NGX_AUTO/lib/geoip/conf |
Igor Sysoev | bc10147 | 2009-07-20 07:10:43 +0000 | [diff] [blame] | 46 | fi |
Igor Sysoev | 213cad8 | 2009-11-25 17:55:25 +0000 | [diff] [blame] | 47 | |
Igor Sysoev | 85dd8fc | 2008-03-18 10:36:27 +0000 | [diff] [blame] | 48 | if [ $NGX_GOOGLE_PERFTOOLS = YES ]; then |
Piotr Sikora | 7d3be9a | 2015-12-01 00:00:10 -0800 | [diff] [blame] | 49 | . $NGX_AUTO/lib/google-perftools/conf |
Igor Sysoev | 85dd8fc | 2008-03-18 10:36:27 +0000 | [diff] [blame] | 50 | fi |
Igor Sysoev | 213cad8 | 2009-11-25 17:55:25 +0000 | [diff] [blame] | 51 | |
| 52 | if [ $NGX_LIBATOMIC != NO ]; then |
Piotr Sikora | 7d3be9a | 2015-12-01 00:00:10 -0800 | [diff] [blame] | 53 | . $NGX_AUTO/lib/libatomic/conf |
Igor Sysoev | 213cad8 | 2009-11-25 17:55:25 +0000 | [diff] [blame] | 54 | fi |