c3b98b2 CONFIGURE: Fix detection of samba version for idmap plugin

1 file Authored by lslebodn 4 years ago, Committed by pbrezina 4 years ago,
    CONFIGURE: Fix detection of samba version for idmap plugin
    
    The parameter -e is not standard parameter for echo builtin.
    And therefore needn't be implemented in some shells.
    
    e.g.
      sh$ /bin/dash -c 'echo -e "#include <samba/version.h>\nSAMBA_VERSION_MAJOR"'
      -e #include <samba/version.h>
      SAMBA_VERSION_MAJOR
    
    And it caused failures in configure
      checking Samba's idmap plugin interface version... idmap test result is: 6
      configure: Samba's idmap interface version: 6
      configure: Samba version: -e #include <samba/version.h>
      SAMBA_VERSION_MAJOR -e #include <samba/version.h>
      SAMBA_VERSION_MINOR -e #include <samba/version.h>
      SAMBA_VERSION_RELEASE
      /home/build/sssd/configure: 21832: test: #include: unexpected operator
      configure: Samba's struct idmap_domain does not have dom_sid member
    
    Merges: https://pagure.io/SSSD/sssd/pull-request/4153
    
    Reviewed-by: Pavel Březina <pbrezina@redhat.com>
    
        
file modified
+3 -3