aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am1
-rw-r--r--src/Makefile.in3
-rw-r--r--src/aconfig.h.in3
3 files changed, 4 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 9fa6b3e..8ad31f1 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -10,5 +10,4 @@ naskpass_CFLAGS=-fPIC -fomit-frame-pointer -fexpensive-optimizations -Os
endif
if RESOLVE
naskpass_CFLAGS+=-DHAVE_RESOLVE
-naskpass_LDFLAGS+=-lresolv
endif
diff --git a/src/Makefile.in b/src/Makefile.in
index 718ab6d..66bd91f 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -81,7 +81,6 @@ host_triplet = @host@
bin_PROGRAMS = naskpass$(EXEEXT) naskshell$(EXEEXT) \
naskpass_check$(EXEEXT)
@RESOLVE_TRUE@am__append_1 = -DHAVE_RESOLVE
-@RESOLVE_TRUE@am__append_2 = -lresolv
subdir = src
DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
$(srcdir)/aconfig.h.in $(top_srcdir)/build/depcomp
@@ -276,7 +275,7 @@ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
naskpass_SOURCES = main.c log.c opt.c utils.c status.c ui_ani.c ui.c ui_input.c ui_ipc.c ui_txtwindow.c ui_statusbar.c ui_nask.c
-naskpass_LDFLAGS = $(am__append_2)
+naskpass_LDFLAGS =
naskpass_check_SOURCES = check/check.c
naskshell_SOURCES = shell/shell.c
@DEBUG_FALSE@naskpass_CFLAGS = -fPIC -fomit-frame-pointer \
diff --git a/src/aconfig.h.in b/src/aconfig.h.in
index cbae5a0..f9c5598 100644
--- a/src/aconfig.h.in
+++ b/src/aconfig.h.in
@@ -43,6 +43,9 @@
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
+/* Define to 1 if you have the `resolv' library (-lresolv). */
+#undef HAVE_LIBRESOLV
+
/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
to 0 otherwise. */
#undef HAVE_MALLOC