Skip to content

Commit

Permalink
Remove AC_CANONICAL_HOST and AC_GNU_SOURCE.
Browse files Browse the repository at this point in the history
Adding AC_GNU_SOURCE isn't recommended, and our only use of
AC_CANONICAL_HOST (to calculate the rpath flag) should be done by the
build environment, and is likely incomplete anyway.
  • Loading branch information
Jonathan Perkin committed May 24, 2020
1 parent 2d22663 commit 50a021e
Show file tree
Hide file tree
Showing 4 changed files with 771 additions and 1,670 deletions.
3 changes: 1 addition & 2 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ CPPFLAGS+= -I. -I${LOCALBASE}/include

LDFLAGS+= @LDFLAGS@

LDADD+= -L${LOCALBASE}/lib @RPATH@,${LOCALBASE}/lib \
-lbz2 -lz -larchive @LIBS@
LDADD+= -L${LOCALBASE}/lib -lbz2 -lz -larchive @LIBS@
LDADD+= -lsqlite3

CLEANFILES+= ${DPSRCS}
Expand Down
32 changes: 0 additions & 32 deletions config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -153,38 +153,6 @@
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS

/* Enable extensions on AIX 3, Interix. */
#ifndef _ALL_SOURCE
# undef _ALL_SOURCE
#endif
/* Enable GNU extensions on systems that have them. */
#ifndef _GNU_SOURCE
# undef _GNU_SOURCE
#endif
/* Enable threading extensions on Solaris. */
#ifndef _POSIX_PTHREAD_SEMANTICS
# undef _POSIX_PTHREAD_SEMANTICS
#endif
/* Enable extensions on HP NonStop. */
#ifndef _TANDEM_SOURCE
# undef _TANDEM_SOURCE
#endif
/* Enable general extensions on Solaris. */
#ifndef __EXTENSIONS__
# undef __EXTENSIONS__
#endif


/* Define to 1 if on MINIX. */
#undef _MINIX

/* Define to 2 if the system does not provide POSIX.1 features except with
this defined. */
#undef _POSIX_1_SOURCE

/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE

/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
#define below would cause a syntax error. */
Expand Down
Loading

0 comments on commit 50a021e

Please sign in to comment.