Skip to content
This repository was archived by the owner on Oct 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1 from Netatalk/rdmark-macos-compliance
Browse files Browse the repository at this point in the history
Enable compilation on macOS
  • Loading branch information
rdmark authored Oct 8, 2023
2 parents de9c7ab + bbcb33c commit 338e169
Show file tree
Hide file tree
Showing 5 changed files with 1,504 additions and 1,587 deletions.
8 changes: 7 additions & 1 deletion autogen.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
#!/bin/sh

LIBTOOLIZE=libtoolize
SYSNAME=`uname`
if [ "x$SYSNAME" = "xDarwin" ] ; then
LIBTOOLIZE=glibtoolize
fi

# build it all.
libtoolize --copy --force && \
$LIBTOOLIZE --copy --force && \
aclocal -I macros $ACLOCAL_FLAGS && \
autoheader && \
automake --include-deps --add-missing --foreign && \
Expand Down
2 changes: 1 addition & 1 deletion test/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ libafptest_la_SOURCES = afpcli.c afpcmd.c afphelper.c adoublehelper.c extattr.c
afparg_SOURCES = afparg.c afparg_FPfuncs.c
afparg_LDADD = libafptest.la

postmark_SOURCES = postmark-1_5.c
postmark_SOURCES = postmark.c
postmark_LDFLAGS = -export-dynamic
postmark_LDADD = libafptest.la

Expand Down
1 change: 1 addition & 0 deletions test/T2_FPRead.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include "specs.h"
#include "ea.h"
#include "adoublehelper.h"

/* ------------------------- */
STATIC void test109()
Expand Down
Loading

0 comments on commit 338e169

Please sign in to comment.