Skip to content
  • Kristian Høgsberg Kristensen's avatar
    configure.ac: Fix chmod on intel_aubdump the right way · 5f9bc98a
    Kristian Høgsberg Kristensen authored
    
    
    autoconf executes the init commands after each file it creates,
    causing these errors at configure time:
    
      ...
      chmod: cannot access 'tools/intel_aubdump': No such file or directory
      config.status: creating tools/Makefile
      chmod: cannot access 'tools/intel_aubdump': No such file or directory
      config.status: creating tools/intel_aubdump
      config.status: creating tools/quick_dump/Makefile
      ...
    
    Once it creates intel_aubdump, the errors go away. When I first added
    the chmod command, I already had a tools/intel_aubdump in my tree and
    didn't get the error.
    
    Split the intel_aubdump creation into its own AC_CONFIG_FILES()
    invocation to avoid this.
    
    Signed-off-by: default avatarKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
    5f9bc98a