File archivemount-0.8.4.dif of Package archivemount

Index: archivemount.c
===================================================================
--- archivemount.c.orig
+++ archivemount.c
@@ -2539,7 +2539,8 @@ main( int argc, char **argv )
 #endif
 
 	/* go back to saved dir */
-	fchdir( oldpwd );
+	if (fchdir( oldpwd ) < 0)
+		perror( "can not go back to old pwd" );
 
 	/* save changes if modified */
 	if( archiveWriteable && !options.readonly && archiveModified && !options.nosave ) {
Index: configure.ac
===================================================================
--- configure.ac.orig
+++ configure.ac
@@ -3,6 +3,7 @@
 AC_INIT([archivemount],[0.8.4], [andrel@cybernoia.de]) 
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
 AC_PROG_CC 
+AM_PROG_CC_C_O
 
 AC_CONFIG_HEADERS([config.h]) 
 AC_CONFIG_FILES([Makefile archivemount.1]) 
@@ -11,8 +12,6 @@ AC_CONFIG_FILES([Makefile archivemount.1
 RELEASE_DATE="15 August 2013"
 AC_SUBST(RELEASE_DATE)
 
-CFLAGS=
-
 # Check for libfuse
 PKG_CHECK_EXISTS(fuse)
 PKG_CHECK_MODULES([FUSE], [fuse >= 2.6],,