Skip to content

Commit

Permalink
Do not install at.h on Linux, GitHub#409
Browse files Browse the repository at this point in the history
  • Loading branch information
rdmark committed Aug 23, 2023
1 parent c0fe0db commit 94855e8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1289,6 +1289,7 @@ AM_CONDITIONAL(USE_UNDEF, test x$sysv_style = x)
AM_CONDITIONAL(USE_BDB, test x$bdb_required = xyes)
AM_CONDITIONAL(USE_APPLETALK, test x$netatalk_cv_ddp_enabled = xyes)
AM_CONDITIONAL(HAVE_ATFUNCS, test x"$ac_neta_haveatfuncs" = x"yes")
AM_CONDITIONAL(INSTALL_AT_HEADER, test x$this_os != xlinux)

dnl Enable silent Automake rules if present
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
Expand Down
9 changes: 8 additions & 1 deletion sys/netatalk/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
# Makefile.am for sys/netatalk/

pkginclude_HEADERS = aarp.h at.h at_var.h ddp.h ddp_var.h endian.h phase2.h
pkginclude_HEADERS = aarp.h at_var.h ddp.h ddp_var.h endian.h phase2.h

SOURCES = aarp.c at_control.c at_proto.c ddp_input.c ddp_output.c ddp_usrreq.c

EXTRA_DIST = $(SOURCES)

# Do not install at.h on Linux systems
if INSTALL_AT_HEADER
pkginclude_HEADERS += at.h
else
EXTRA_DIST += at.h
endif

0 comments on commit 94855e8

Please sign in to comment.