summaryrefslogtreecommitdiff
path: root/extras/fstab_import
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-09-19 23:03:49 -0700
committerKay Sievers <kay.sievers@vrfy.org>2008-09-19 23:03:49 -0700
commit38f27948cdafd8a4b90a6b4f1f54b89891983506 (patch)
tree1d4f2483572bc71e68bd44b6097aa1940551dcd3 /extras/fstab_import
parenta4354f9385fa6854360729678491da64be996f03 (diff)
always include config.h from Makefile
Diffstat (limited to 'extras/fstab_import')
-rw-r--r--extras/fstab_import/Makefile.am7
-rw-r--r--extras/fstab_import/fstab_import.c2
2 files changed, 2 insertions, 7 deletions
diff --git a/extras/fstab_import/Makefile.am b/extras/fstab_import/Makefile.am
index 2ed383d95e..49e598e1f4 100644
--- a/extras/fstab_import/Makefile.am
+++ b/extras/fstab_import/Makefile.am
@@ -1,3 +1,5 @@
+include $(top_srcdir)/Makefile.am.inc
+
udevhomedir = $(udev_prefix)/lib/udev
udevhome_PROGRAMS = \
fstab_import
@@ -6,11 +8,6 @@ udevrulesdir = $(udev_prefix)/lib/udev/rules.d
dist_udevrules_DATA = \
79-fstab_import.rules
-AM_CPPFLAGS = \
- -DSYSCONFDIR=\""$(sysconfdir)"\" \
- -DUDEV_PREFIX=\""$(udev_prefix)"\" \
- -D_LIBUDEV_COMPILATION
-
fstab_import_SOURCES = \
fstab_import.c \
../../udev/lib/libudev.h \
diff --git a/extras/fstab_import/fstab_import.c b/extras/fstab_import/fstab_import.c
index 245a72fffb..71ab5d34ee 100644
--- a/extras/fstab_import/fstab_import.c
+++ b/extras/fstab_import/fstab_import.c
@@ -13,8 +13,6 @@
#define _GNU_SOURCE 1
#endif
-#include "config.h"
-
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>