Problems with configure. in And makefile. am (waiting online)

Source: Internet
Author: User
For more information about configure. in And makefile. am (online waiting)-Linux Enterprise Application-Linux server application, see the following. [I = s] This post was last edited by liudayang21

Hello everyone! Now I am studying how to add a new service process monitoring function on Heartbeat. I have basically written this servmonitor module, but how can I add this module to the original Open Source Heartbeat, this involves configure. in And makefile. am changes, but the younger brother is not very clear about the structure. Please consult experts here!
The file structure of my module is as follows:
Servmonitor:
Servmonitor. c
Readconfig. h
Pidof. h
Readservicemonitor. log // log File
Readservicerestart. log // log File
Monitor_log.txt // Log File
Start // sub-folder to store script files
Ftpd_monitor.sh
Ftpd_restart.sh
Httpd_monitor.sh
Httpd_restart.sh
Now you need to write the configure. in And Makefile. am files under the servmonitor directory, and then write a Makefile. am file under the start subdirectory.
Two files in the original Heartbeat root directory are shown in the attachment:
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.