summaryrefslogtreecommitdiffhomepage
path: root/auto/modules/go/conf
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-08-17 21:47:19 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-08-17 21:47:19 +0300
commit5ef8e0ee8933e914b1847168255b53f07c3727b3 (patch)
treef4e4b512d86a8a92eeb48c44e54db510660ea4fe /auto/modules/go/conf
parent1ba2f44ad9b95670452f31a0923b8a118a08d867 (diff)
downloadunit-5ef8e0ee8933e914b1847168255b53f07c3727b3.tar.gz
unit-5ef8e0ee8933e914b1847168255b53f07c3727b3.tar.bz2
Removing auto/modules directory before commiting the new module
configuration infrastructure.
Diffstat (limited to 'auto/modules/go/conf')
-rw-r--r--auto/modules/go/conf37
1 files changed, 0 insertions, 37 deletions
diff --git a/auto/modules/go/conf b/auto/modules/go/conf
deleted file mode 100644
index e7c346e1..00000000
--- a/auto/modules/go/conf
+++ /dev/null
@@ -1,37 +0,0 @@
-
-# Copyright (C) Max Romanov
-# Copyright (C) NGINX, Inc.
-
-
-$echo -n "checking for Go ..."
-$echo "checking for Go ..." >> $NXT_AUTOCONF_ERR
-
-nxt_go_test="GOPATH=`pwd` CGO_CPPFLAGS=-DNXT_CONFIGURE \
- \"${NXT_GO}\" build -o build/nxt_go_gen.a --buildmode=c-archive nginext"
-
-
-if /bin/sh -c "$nxt_go_test" >> $NXT_AUTOCONF_ERR 2>&1; then
- $echo " found"
-
- NXT_GO_VERSION="`${NXT_GO} version`"
- $echo " + Go version: ${NXT_GO_VERSION}"
-
-else
- $echo "----------" >> $NXT_AUTOCONF_ERR
- $echo $nxt_go_test >> $NXT_AUTOCONF_ERR
- $echo "----------" >> $NXT_AUTOCONF_ERR
- $echo
- $echo
- $echo $0: error: no Go found.
- $echo
- exit 1;
-fi
-
-
-NXT_GO_MODULE_SRCS=" \
- src/nxt_go.c \
-"
-
-
-NXT_MODULES_INIT="$NXT_MODULES_INIT nxt_go_module_init"
-NXT_MODULES_SRCS="$NXT_MODULES_SRCS $NXT_GO_MODULE_SRCS"