Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asterisk
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Voice
asterisk
Commits
c33168c1
Commit
c33168c1
authored
7 years ago
by
Joshua Colp
Committed by
Gerrit Code Review
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "CFLAGS for BIND8 support"
parents
42f738e0
fcb1a0d7
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Makefile
+3
-0
3 additions, 0 deletions
Makefile
configure
+28
-0
28 additions, 0 deletions
configure
configure.ac
+12
-0
12 additions, 0 deletions
configure.ac
makeopts.in
+2
-0
2 additions, 0 deletions
makeopts.in
with
45 additions
and
0 deletions
Makefile
+
3
−
0
View file @
c33168c1
...
@@ -124,6 +124,9 @@ _ASTLDFLAGS+=$(LDOPTS)
...
@@ -124,6 +124,9 @@ _ASTLDFLAGS+=$(LDOPTS)
# libxml2 cflags
# libxml2 cflags
_ASTCFLAGS
+=
$(
LIBXML2_INCLUDE
)
_ASTCFLAGS
+=
$(
LIBXML2_INCLUDE
)
# BIND_8_COMPAT
_ASTCFLAGS
+=
$(
BIND8_CFLAGS
)
#Uncomment this to see all build commands instead of 'quiet' output
#Uncomment this to see all build commands instead of 'quiet' output
#NOISY_BUILD=yes
#NOISY_BUILD=yes
...
...
This diff is collapsed.
Click to expand it.
configure
+
28
−
0
View file @
c33168c1
...
@@ -697,6 +697,7 @@ PBX_IP_MTU_DISCOVER
...
@@ -697,6 +697,7 @@ PBX_IP_MTU_DISCOVER
PBX_RTLD_NOLOAD
PBX_RTLD_NOLOAD
PBX_GLOB_BRACE
PBX_GLOB_BRACE
PBX_GLOB_NOMAGIC
PBX_GLOB_NOMAGIC
BIND8_CFLAGS
AST_RPATH
AST_RPATH
AST_NATIVE_ARCH
AST_NATIVE_ARCH
AST_SHADOW_WARNINGS
AST_SHADOW_WARNINGS
...
@@ -19408,6 +19409,33 @@ fi
...
@@ -19408,6 +19409,33 @@ fi
rm -f core conftest.err conftest.$ac_objext \
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
conftest$ac_exeext conftest.$ac_ext
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BIND_8_COMPAT required" >&5
$as_echo_n "checking for BIND_8_COMPAT required... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#undef BIND_8_COMPAT
#include <arpa/nameser.h>
int
main ()
{
int x = NXDOMAIN
;
return 0;
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
BIND8_CFLAGS=-DBIND_8_COMPAT
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
if test "x${PBX_GLOB_NOMAGIC}" != "x1"; then
if test "x${PBX_GLOB_NOMAGIC}" != "x1"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLOB_NOMAGIC in glob.h" >&5
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLOB_NOMAGIC in glob.h" >&5
...
...
This diff is collapsed.
Click to expand it.
configure.ac
+
12
−
0
View file @
c33168c1
...
@@ -1361,6 +1361,18 @@ AC_LINK_IFELSE(
...
@@ -1361,6 +1361,18 @@ AC_LINK_IFELSE(
AC_MSG_RESULT(no)
AC_MSG_RESULT(no)
)
)
AC_MSG_CHECKING(for BIND_8_COMPAT required)
AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
[[
#undef BIND_8_COMPAT
#include <arpa/nameser.h>
]],
[[int x = NXDOMAIN]])],
AC_MSG_RESULT(no),
AC_MSG_RESULT(yes)
[BIND8_CFLAGS=-DBIND_8_COMPAT])
AC_SUBST(BIND8_CFLAGS)
AST_C_DEFINE_CHECK([GLOB_NOMAGIC], [GLOB_NOMAGIC], [glob.h])
AST_C_DEFINE_CHECK([GLOB_NOMAGIC], [GLOB_NOMAGIC], [glob.h])
AST_C_DEFINE_CHECK([GLOB_BRACE], [GLOB_BRACE], [glob.h])
AST_C_DEFINE_CHECK([GLOB_BRACE], [GLOB_BRACE], [glob.h])
...
...
This diff is collapsed.
Click to expand it.
makeopts.in
+
2
−
0
View file @
c33168c1
...
@@ -62,6 +62,8 @@ HOST_OS=@HOST_OS@
...
@@ -62,6 +62,8 @@ HOST_OS=@HOST_OS@
OSARCH=@OSARCH@
OSARCH=@OSARCH@
OSREV=@PBX_OSREV@
OSREV=@PBX_OSREV@
BIND8_CFLAGS=@BIND8_CFLAGS@
PTHREAD_CFLAGS=@PTHREAD_CFLAGS@
PTHREAD_CFLAGS=@PTHREAD_CFLAGS@
PTHREAD_LIBS=@PTHREAD_LIBS@
PTHREAD_LIBS=@PTHREAD_LIBS@
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment