diff options
author | Hideki Yamane <henrich@debian.org> | 2014-03-30 19:38:48 +0900 |
---|---|---|
committer | Hideki Yamane <henrich@debian.org> | 2014-03-30 19:38:48 +0900 |
commit | 7769a9595c3da9a35f31b42451b1f6c3ed4004fa (patch) | |
tree | 009bf8fd68af6bb1129e07dd8c1ed205010d81f8 /configure.d/config_os_misc1 | |
parent | 2e7891b0311204e0ecd5dc4a4334df01f3a6a1b4 (diff) | |
download | pkg-net-snmp-7769a9595c3da9a35f31b42451b1f6c3ed4004fa.tar.gz |
Imported Upstream version 5.7.2~dfsg
Diffstat (limited to 'configure.d/config_os_misc1')
-rw-r--r-- | configure.d/config_os_misc1 | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/configure.d/config_os_misc1 b/configure.d/config_os_misc1 new file mode 100644 index 0000000..feec9a9 --- /dev/null +++ b/configure.d/config_os_misc1 @@ -0,0 +1,24 @@ +# -*- autoconf -*- +######################################### +## +# Miscellaneous checks +## +######################################### + +## +# Compilation-related +## + +# Dynamic modules require Position-Independent Code +# LIB_CFLAGS/DLLIBS: used in agent Makefile only +# +AC_MSG_CHECKING([whether we have to build PIC code]) +echo " $module_list " | $GREP " ucd-snmp/dlmod " >/dev/null +if test $? -eq 0 ; then + LIB_CFLAGS="$LIB_CFLAGS $SHLIB_CFLAGS" + AC_MSG_RESULT(yes) +else + DLLIBS="" + AC_MSG_RESULT(no) +fi + |