summaryrefslogtreecommitdiffhomepage
path: root/auto/modules/conf
blob: e7f21b9ea6072b4c10d9d2e695ebf3fa50546588 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37

# Copyright (C) Igor Sysoev
# Copyright (C) NGINX, Inc.


if [ ! -f $NXT_AUTOCONF_DATA ]; then
   echo
   echo Please run common $0 before configuring module \"$nxt_module\".
   echo
   exit 1
fi

. $NXT_AUTOCONF_DATA


case "$nxt_module" in

   python)
       . auto/modules/python
   ;;

   php)
       . auto/modules/php
   ;;

   go)
       . auto/modules/go
   ;;

   *)
       echo
       echo $0: error: invalid module \"$nxt_module\".
       echo
       exit 1
   ;;

esac