Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
bin_PROGRAMS = grabc

grabc_SOURCES = grabc.c

grabc_CFLAGS = $(X_CFLAGS)
grabc_LDADD = $(X_LIBS)

EXTRA_DIST = \
grabc.pod

man_MANS = grabc.1

grabc.1: grabc.pod
pod2man --date="2018-04-16" < $< > $@
28 changes: 28 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.69])
AC_INIT([grabc], [1.0.2], [https://github.com/muquit/grabc/issues])
AC_CONFIG_SRCDIR([grabc.c])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([foreign])

# Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_MAKE_SET

# Checks for libraries.
AC_CHECK_LIB([X11], [XOpenDisplay])

# Checks for header files.
AC_PATH_XTRA
AC_CHECK_HEADERS([unistd.h])

# Checks for typedefs, structures, and compiler characteristics.

# Checks for library functions.
AC_CHECK_FUNCS([strtol])

AC_CONFIG_FILES([Makefile])
AC_OUTPUT