configure.ac
changeset 1825 65781b048a47
parent 1824 bbb70ca26f09
child 1934 f00951ab7399
equal deleted inserted replaced
1824:bbb70ca26f09 1825:65781b048a47
    94 
    94 
    95 # Extract three numbers from kernel release string
    95 # Extract three numbers from kernel release string
    96 linuxversion=`echo $kernelrelease | grep -oE "^[[0-9]]+\.[[0-9]]+\.[[0-9]]+"`
    96 linuxversion=`echo $kernelrelease | grep -oE "^[[0-9]]+\.[[0-9]]+\.[[0-9]]+"`
    97 
    97 
    98 AC_SUBST(LINUX_SOURCE_DIR,[$sourcedir])
    98 AC_SUBST(LINUX_SOURCE_DIR,[$sourcedir])
    99 AC_MSG_RESULT([$LINUX_SOURCE_DIR (Kernel $kernelrelease)])
    99 AC_MSG_RESULT([$LINUX_SOURCE_DIR (Kernel $linuxversion)])
   100 
   100 
   101 #------------------------------------------------------------------------------
   101 #------------------------------------------------------------------------------
   102 # Linux module installation subdirectory
   102 # Linux module installation subdirectory
   103 #------------------------------------------------------------------------------
   103 #------------------------------------------------------------------------------
   104 
   104 
   110     [moddir=[$withval]],
   110     [moddir=[$withval]],
   111     [moddir="ethercat"]
   111     [moddir="ethercat"]
   112 )
   112 )
   113 AC_SUBST(INSTALL_MOD_DIR,[$moddir])
   113 AC_SUBST(INSTALL_MOD_DIR,[$moddir])
   114 
   114 
   115 AC_MSG_CHECKING([Linux modules installation directory])
   115 AC_MSG_CHECKING([for Linux modules installation directory])
   116 AC_MSG_RESULT([$INSTALL_MOD_DIR])
   116 AC_MSG_RESULT([$INSTALL_MOD_DIR])
   117 
   117 
   118 #------------------------------------------------------------------------------
   118 #------------------------------------------------------------------------------
   119 # Generic Ethernet driver
   119 # Generic Ethernet driver
   120 #------------------------------------------------------------------------------
   120 #------------------------------------------------------------------------------