Index: Makefile.am
===================================================================
--- Makefile.am	(revision 757371)
+++ Makefile.am	(working copy)
@@ -31,7 +31,7 @@
 lib_LTLIBRARIES =
 kdeinit_LTLIBRARIES = knetworkmanager.la
 
-KDE_CXXFLAGS = -UQT_NO_ASCII_CAST
+KDE_CXXFLAGS = -std=gnu++98 -UQT_NO_ASCII_CAST
 
 # the application source, library search path, and link libraries
 knetworkmanager_la_SOURCES = main.cpp knetworkmanager.cpp knetworkmanager-dbus.cpp \
@@ -66,6 +66,10 @@
 # this is where the desktop file will go 
 xdg_apps_DATA = knetworkmanager.desktop
 
+# Autostart entry
+autostartdir = $(datadir)/autostart
+autostart_DATA = knetworkmanager.desktop
+
 # this is where the shell's XML-GUI resource file goes
 shellrcdir = $(kde_datadir)/knetworkmanager
 shellrc_DATA = knetworkmanagerui.rc
