Index: setup.py
--- setup.py.orig	2009-02-11 14:07:19 +0100
+++ setup.py	2009-06-08 14:58:57 +0200
@@ -118,7 +118,7 @@
             else:
                 val = getattr(cmd_obj, attr)
             if attr == 'install_data':
-                cdir = os.path.join(val, "share", "linkchecker")
+                cdir = os.path.join(val, "etc", "linkchecker")
                 data.append('config_dir = %r' % cnormpath(cdir))
             elif attr == 'install_lib':
                 if cmd_obj.root:
@@ -247,15 +247,7 @@
 
     def build_extensions (self):
         """Add -std=gnu99 to build options if supported."""
-        # For gcc >= 3 we can add -std=gnu99 to get rid of warnings.
         extra = []
-        if self.compiler.compiler_type == 'unix':
-            option = "-std=gnu99"
-            if cc_supports_option(self.compiler.compiler, option):
-                extra.append(option)
-                if platform.machine() == 'm68k':
-                    # work around ICE on m68k machines in gcc 4.0.1
-                    cc_remove_option(self.compiler, "-O3")
         # First, sanity-check the 'extensions' list
         self.check_extensions_list(self.extensions)
         for ext in self.extensions:
@@ -359,7 +351,7 @@
 myemail = "calvin@users.sourceforge.net"
 
 data_files = [
-    ('share/linkchecker',
+    ('etc/linkchecker',
         ['config/linkcheckerrc', 'config/logging.conf', ]),
     ('share/linkchecker/examples',
         ['cgi-bin/lconline/leer.html.en',
@@ -375,10 +367,10 @@
 ]
 
 if os.name == 'posix':
-    data_files.append(('share/man/man1', ['doc/en/linkchecker.1', 'doc/en/linkchecker-gui.1']))
-    data_files.append(('share/man/man5', ['doc/en/linkcheckerrc.5']))
-    data_files.append(('share/man/de/man1', ['doc/de/linkchecker.1', 'doc/de/linkchecker-gui.1']))
-    data_files.append(('share/man/de/man5', ['doc/de/linkcheckerrc.5']))
+    data_files.append(('man/man1', ['doc/en/linkchecker.1', 'doc/en/linkchecker-gui.1']))
+    data_files.append(('man/man5', ['doc/en/linkcheckerrc.5']))
+    data_files.append(('man/de/man1', ['doc/de/linkchecker.1', 'doc/de/linkchecker-gui.1']))
+    data_files.append(('man/de/man5', ['doc/de/linkcheckerrc.5']))
     data_files.append(('share/linkchecker/examples',
               ['config/linkchecker-completion',
                'doc/examples/check_blacklist.sh',
